diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml index 1c5119a4..a60ca3ba 100644 --- a/.github/workflows/docker-ci.yml +++ b/.github/workflows/docker-ci.yml @@ -23,6 +23,7 @@ jobs: name: yay_release path: artifacts tag: + if: contains(github.ref, 'master') name: Tag release runs-on: ubuntu-latest steps: @@ -31,4 +32,3 @@ jobs: uses: mathieudutour/github-tag-action@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - if: github.ref == 'master' && github.event_name == 'push'