From c60c8829c6788df6e833f74159cd42d046bddaf5 Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 21 Mar 2026 16:54:40 +0100 Subject: [PATCH] No longer filter for `Release` string in tag More strict approach would require a dedicated step which does a regex matching on the tag --- .github/workflows/docker-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 1846766bf..ac7ef32ac 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -3,7 +3,7 @@ name: Build Docker Image on: push: tags: - - '*Release*' + - '*.*.*' branches: - master pull_request: @@ -47,7 +47,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - if: github.ref_type == 'tag' + if: github.ref_type == 'tag' && !contains(github.ref, '-') uses: docker/login-action@v3 with: registry: ghcr.io @@ -59,7 +59,7 @@ jobs: with: context: . platforms: linux/amd64,linux/arm64 - push: ${{ github.ref_type == 'tag' }} + push: ${{ github.ref_type == 'tag' && !contains(github.ref, '-') }} tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} cache-from: type=gha