Automated building and deployment process with Docker #2

Merged
sangelo merged 20 commits from docker into main 2024-04-03 12:10:51 +00:00
Showing only changes of commit 4ecf1f1de6 - Show all commits

View file

@ -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