From 7c29220615dc9b8f82749ebcbc4dc20c5cc3fa64 Mon Sep 17 00:00:00 2001 From: Natanael Arndt Date: Wed, 12 Jun 2024 13:33:20 +0200 Subject: [PATCH] Build docker an release on tags --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69e311e..b0581be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: uses: coverallsapp/github-action@v2 release: - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/develop' || ${{ startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest needs: test env: @@ -54,7 +54,7 @@ jobs: run: task gem:build gem:push docker: - if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/develop' || ${{ startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest needs: test steps: