Skip to content

Commit

Permalink
fix docker buildx args
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Sidorov <mixity@yandex.ru>
  • Loading branch information
mikelsid authored and Sajiyah-Salat committed Jun 11, 2023
1 parent c30135b commit 436a995
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ docker-buildx: test ## Build and push docker image for the manager for cross-pla
sed -e '1 s/\(^FROM\)/FROM --platform=\$$\{BUILDPLATFORM\}/; t' -e ' 1,// s//FROM --platform=\$$\{BUILDPLATFORM\}/' Dockerfile > Dockerfile.cross
- docker buildx create --name project-v3-builder
docker buildx use project-v3-builder
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile.cross
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile.cross .
- docker buildx rm project-v3-builder
rm Dockerfile.cross
Expand Down

0 comments on commit 436a995

Please sign in to comment.