switched to correct version + added build script

This commit is contained in:
2024-09-03 18:21:03 +02:00
parent 0e98d1e711
commit 7132073efe
2 changed files with 11 additions and 1 deletions

10
build.sh Normal file
View File

@@ -0,0 +1,10 @@
echo "Creating Version v$1"
# Build program
docker build -t ghcr.io/leonhoppe/worktime:latest -t ghcr.io/leonhoppe/worktime:$1 .
# Deploy latest version
docker push ghcr.io/leonhoppe/worktime:latest
# Deploy specified version
docker push ghcr.io/leonhoppe/worktime:$1