mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
feat: Docker update script (closes #9159)
This commit is contained in:
parent
ec1079bd29
commit
de3e0b2341
1 changed files with 10 additions and 0 deletions
10
push-docker.sh
Executable file
10
push-docker.sh
Executable 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
|
Loading…
Reference in a new issue