Added mode automated docker builds
This commit is contained in:
parent
b05897f0b5
commit
b45268b2c5
3 changed files with 12 additions and 1 deletions
10
docker.sh
Executable file
10
docker.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
m=$(cat ./build_number)
|
||||
echo $m
|
||||
wait 10
|
||||
docker build -t ghcr.io/lucxjo/friends-best:build-$m .
|
||||
docker build -t ghcr.io/lucxjo/friends-best:latest .
|
||||
docker push ghcr.io/lucxjo/friends-best:build-$m
|
||||
docker push ghcr.io/lucxjo/friends-best:latest
|
||||
|
||||
echo $((m+1)) > ./build_number
|
||||
Loading…
Add table
Add a link
Reference in a new issue