switched to correct version + added build script
This commit is contained in:
10
build.sh
Normal file
10
build.sh
Normal 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
|
||||
Reference in New Issue
Block a user