[c] modify workflow if-statement to work in SH
All checks were successful
Build and push docker image / deploy (push) Successful in 42s
All checks were successful
Build and push docker image / deploy (push) Successful in 42s
This commit is contained in:
parent
88950724c9
commit
4ecf1f1de6
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