Skip to content

Commit

Permalink
Merge pull request #10 from aandryashin/master
Browse files Browse the repository at this point in the history
Fix buildx.
  • Loading branch information
vania-pooh authored Apr 23, 2024
2 parents 680b848 + 40d0fc4 commit 140823c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM scratch

COPY init /sbin/init
ARG TARGETARCH

COPY init-${TARGETARCH} /sbin/init
3 changes: 2 additions & 1 deletion ci/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ docker login quay.io -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD"

docker buildx build --platform linux/amd64,linux/arm64 --provenance false --push \
-t $GITHUB_REPOSITORY -t $GITHUB_REPOSITORY:$1 \
-t quay.io/$GITHUB_REPOSITORY -t quay.io/$GITHUB_REPOSITORY:$1
-t quay.io/$GITHUB_REPOSITORY -t quay.io/$GITHUB_REPOSITORY:$1 \
.

0 comments on commit 140823c

Please sign in to comment.