From 0aa205d4e20b66f880f3a5f7155d3d4e0ce870e3 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 3 Dec 2022 21:50:18 -0800 Subject: [PATCH] feat: Docker update script (closes #9159) --- push-docker.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 push-docker.sh diff --git a/push-docker.sh b/push-docker.sh new file mode 100755 index 000000000..434c9cc63 --- /dev/null +++ b/push-docker.sh @@ -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