You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
374 B

set -eux pipefail
sudo docker login $REGISTRY
sudo docker buildx build --push -t $IMAGE:amd64 .
sudo docker buildx build --push --platform linux/arm/v7 -t $IMAGE:armv7 .
sudo docker manifest create --amend $IMAGE:latest $IMAGE:amd64 $IMAGE:armv7
sudo docker manifest push $IMAGE:latest