1
0
Fork 1
mirror of https://example.com synced 2024-11-24 07:26:39 +09:00
firefish/push-docker.sh
2022-12-03 21:50:18 -08:00

10 lines
436 B
Bash
Executable file

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