Skip to content

Commit

Permalink
Merge pull request #126 from brancz/revert-124-better-arch
Browse files Browse the repository at this point in the history
Revert "Makefile: correctly annotate container image designated platform"
  • Loading branch information
s-urbaniak committed May 7, 2021
2 parents 8b3976c + 25d9f7b commit 9aae0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $(OUT_DIR)/$(BIN)-%:
build: $(OUT_DIR)/$(BIN)

container: $(OUT_DIR)/$(BIN)-$(GOOS)-$(GOARCH) Dockerfile
docker build --platform $(GOARCH) --build-arg BINARY=$(BIN)-$(GOOS)-$(GOARCH) -t $(DOCKER_REPO):$(VERSION)-$(GOARCH) .
docker build --build-arg BINARY=$(BIN)-$(GOOS)-$(GOARCH) -t $(DOCKER_REPO):$(VERSION)-$(GOARCH) .
ifeq ($(GOARCH), amd64)
docker tag $(DOCKER_REPO):$(VERSION)-$(GOARCH) $(DOCKER_REPO):$(VERSION)
endif
Expand Down

0 comments on commit 9aae0e5

Please sign in to comment.