Automate re-tagging and pushing
This commit is contained in:
parent
e90ce6b8ef
commit
8cf17b942b
1 changed files with 12 additions and 2 deletions
|
@ -2,5 +2,15 @@
|
|||
|
||||
cd "$(realpath $(dirname $0))"
|
||||
|
||||
docker build -t registry.tirefireind.us/arrdem/activitypub_relay:latest -t relay .
|
||||
docker push registry.tirefireind.us/arrdem/activitypub_relay:latest
|
||||
IMAGE=registry.tirefireind.us/arrdem/activitypub_relay
|
||||
|
||||
docker build -t $IMAGE:latest -t relay .
|
||||
docker push $IMAGE:latest
|
||||
ssh root@relay.tirefireind.us systemctl restart activitypub-relay
|
||||
|
||||
if [ -n "$TAG" ]; then
|
||||
for stem in registry.tirefireind.us/arrdem/activitypub_relay registry.digitalocean.com/macawsocial/relay; do
|
||||
docker tag relay "$stem:$TAG"
|
||||
docker push $stem:"$TAG"
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue