Switch to self-hosted container registry.

master
Dan Helfman 2 weeks ago
parent 4c94e5ecd1
commit d98198d71d
  1. 10
      push.sh

@ -2,11 +2,11 @@
set -eux pipefail
IMAGE=witten/wake-on-lan-service
REGISTRY=projects.torsion.org
IMAGE=$REGISTRY/witten/wake-on-lan-service
sudo docker buildx build -t $IMAGE:amd64 .
sudo docker push $IMAGE:amd64
sudo docker buildx build --platform linux/arm/v7 -t $IMAGE:armv7 .
sudo docker push $IMAGE:armv7
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

Loading…
Cancel
Save