Skip to content

Commit

Permalink
[ci skip] Set platform for Docker scratch package builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Jan 30, 2023
1 parent 647e907 commit 78d56e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/deploy-image-amzn
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ docker login ghcr.io -u "cink-continuous-integration" -p $DOCKER_LOGIN_PAT
./amzn/setup

docker build \
--platform linux/amd64 \
--tag "ghcr.io/customink/crypteia-extension-amzn-amd64:${CRYPTEIA_VERSION}" \
--file package/Dockerfile .
docker push "ghcr.io/customink/crypteia-extension-amzn-amd64:${CRYPTEIA_VERSION}"

./amzn/setup-arm64

docker build \
--platform linux/arm64 \
--tag "ghcr.io/customink/crypteia-extension-amzn-arm64:${CRYPTEIA_VERSION}" \
--file package/Dockerfile .
docker push "ghcr.io/customink/crypteia-extension-amzn-arm64:${CRYPTEIA_VERSION}"
Expand Down
2 changes: 2 additions & 0 deletions package/deploy-image-debian
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ docker login ghcr.io -u "cink-continuous-integration" -p $DOCKER_LOGIN_PAT
./bin/setup

docker build \
--platform linux/amd64 \
--tag "ghcr.io/customink/crypteia-extension-debian-amd64:${CRYPTEIA_VERSION}" \
--file package/Dockerfile .
docker push "ghcr.io/customink/crypteia-extension-debian-amd64:${CRYPTEIA_VERSION}"

./debian/setup-arm64

docker build \
--platform linux/arm64 \
--tag "ghcr.io/customink/crypteia-extension-debian-arm64:${CRYPTEIA_VERSION}" \
--file package/Dockerfile .
docker push "ghcr.io/customink/crypteia-extension-debian-arm64:${CRYPTEIA_VERSION}"
Expand Down

0 comments on commit 78d56e8

Please sign in to comment.