Switch to self-hosted container registry.
This commit is contained in:
parent
4c94e5ecd1
commit
d98198d71d
10
push.sh
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…
Reference in New Issue
Block a user