Skip to content

Commit

Permalink
fix docker buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonwu committed Nov 16, 2022
1 parent 8787ecd commit 7a13241
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions hack/build-and-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ fi
# And, we add an extra version tag - either :latest or semver.
# The buildx integrate build and push in one line.
docker buildx build \
--platform linux/amd64,linux/arm64 \
-f Dockerfile \
-t ${REGISTRY}/admission-server:${GIT_TAG} \
-t ${REGISTRY}/admission-server:${VERSION_TAG} \
--build-arg "COMMIT=${COMMIT}" \
--build-arg "TAG=${BINARY_TAG}" \
--platform linux/amd64,linux/arm64 \
-t ${REGISTRY}/admission-server:${GIT_TAG} \
-t ${REGISTRY}/admission-server:${VERSION_TAG} \
--push
--push \
.

0 comments on commit 7a13241

Please sign in to comment.