Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Nov 1, 2023
1 parent a71ff73 commit 48346f7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@

ver=$(git describe --always --dirty)
docker build . -t kdudkov/goatak_server:$ver -t kdudkov/goatak_server:latest
docker push kdudkov/goatak_server

if [[ $ver == v* ]]; then
echo "pushing $ver"
docker push kdudkov/goatak_server:$ver
fi

echo "pushing latest"
docker push kdudkov/goatak_server:latest

0 comments on commit 48346f7

Please sign in to comment.