feat: Docker update script (closes #9159)

This commit is contained in:
ThatOneCalculator 2022-12-03 21:50:18 -08:00
parent 0e3b9323a2
commit 0aa205d4e2

10
push-docker.sh Executable file
View file

@ -0,0 +1,10 @@
sudo systemctl start docker.service
sudo docker rmi $(docker images -q)
sudo docker compose build
sudo docker tag thatonecalculator/calckey:latest thatonecalculator/calckey:$(git describe --tags --exact-match)
sudo docker images
echo "\nPress any key to continue\n"
read
sudo docker push thatonecalculator/calckey:$(git describe --tags --exact-match)
sudo docker push thatonecalculator/calckey:latest
sudo systemctl stop docker.service