Skip to content

Commit

Permalink
fix(makefile): build args required for the container build
Browse files Browse the repository at this point in the history
As there are ENV vars set by the build process, there needs to be a way of passing them at build time

PR ansible#1681
  • Loading branch information
jon-nfc committed Jan 9, 2024
1 parent 5c57c25 commit 78317ff
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 @@ -118,7 +118,7 @@ PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
docker-buildx: ## Build and push docker image for the manager for cross-platform support
- docker buildx create --name project-v3-builder
docker buildx use project-v3-builder
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile .
- docker buildx build --push $(BUILD_ARGS) --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile .
- docker buildx rm project-v3-builder


Expand Down

0 comments on commit 78317ff

Please sign in to comment.