stop pushing image to DO registry (it's over the free size limit)

This commit is contained in:
2021-11-18 10:26:15 -05:00
parent ab6f8369f3
commit 938e532639
3 changed files with 7 additions and 19 deletions
+3 -9
View File
@@ -66,21 +66,15 @@ cloudflared service install
cp ~/.cloudflared/cert.pem /etc/cloudflared/
rm ~/.cloudflared/cert.pem
#### login to DO registry ####
snap install doctl
snap connect doctl:dot-docker
doctl auth init
doctl registry login
#### pull OS container ####
docker pull registry.digitalocean.com/jakejarvis/y2k:latest
#### enable services ####
cp $REPO_DIR/host/example.service /lib/systemd/system/y2k.service
systemctl daemon-reload
systemctl enable y2k
systemctl enable cloudflared
#### build fresh docker image if ready ####
bash $REPO_DIR/build.sh || true
#### reboot ####
echo "Rebooting shortly..."
sleep 15