Automated building and deployment process with Docker #2
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ jobs:
|
|||
docker push "gitpot.dev/sangelo/website:${TAG}"
|
||||
|
||||
# publish tag latest as well
|
||||
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
|
||||
if echo "${{ github.ref }}" | grep -q "refs/tags/"; then
|
||||
docker tag "gitpot.dev/sangelo/website:${TAG}" "gitpot.dev/sangelo/website:latest"
|
||||
docker push "gitpot.dev/sangelo/website:latest"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue