From e33de4d00e90db1d05c4e3eb5e71f60320e789c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Tue, 28 Oct 2025 22:31:13 +0100 Subject: [PATCH] fix: only tag main! --- .github/workflows/docker-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 39156795..9717b531 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -146,6 +146,7 @@ jobs: DATABASE_URL=postgresql://dummy:dummy@localhost:5432/dummy - name: Create/Update API tag + if: github.ref == 'refs/heads/main' run: | # Delete existing tag if it exists if git tag -l "api" | grep -q "api"; then @@ -206,6 +207,7 @@ jobs: DATABASE_URL=postgresql://dummy:dummy@localhost:5432/dummy - name: Create/Update Worker tag + if: github.ref == 'refs/heads/main' run: | # Delete existing tag if it exists if git tag -l "worker" | grep -q "worker"; then @@ -266,6 +268,7 @@ jobs: NO_CLOUDFLARE=1 - name: Create/Update Dashboard tag + if: github.ref == 'refs/heads/main' run: | # Delete existing tag if it exists if git tag -l "dashboard" | grep -q "dashboard"; then