Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0fa77cd

Browse files
committedNov 9, 2022
chore: return multi platform builds
1 parent 028071a commit 0fa77cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ PHONY: all
5454
build: ## Build default docker image
5555
cd $(CURRENT_DIR)$(DOCKERFILE_DIR); \
5656
docker buildx build \
57-
--platform linux/arm64 \
57+
--platform linux/arm64,linux/amd64 \
5858
--tag $(IMAGE_TAG) \
59-
--load .
59+
--push .
6060
PHONY: build
6161

6262
build-from-cache: ## Build default docker image using cached layers
6363
cd $(CURRENT_DIR)$(DOCKERFILE_DIR); \
6464
docker buildx build \
65-
--platform linux/arm64 \
65+
--platform linux/arm64,linux/amd64 \
6666
--tag $(IMAGE_TAG) \
6767
--cache-from $(CACHE_FROM) \
68-
--load .
68+
--push .
6969
PHONY: build-from-cache
7070

7171
test: ## Run dgoss tests over docker images

0 commit comments

Comments
 (0)
Please sign in to comment.