diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4ac0f2f..e76dd16 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -30,13 +30,12 @@ jobs: name: Build & Push to Registry runs-on: ubuntu-latest needs: test - if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v') + if: contains(github.ref, 'refs/tags/v') steps: - name: Debug ref run: | echo "github.ref = ${{ github.ref }}" - echo "github.ref_type = ${{ github.ref_type }}" - echo "github.ref_name = ${{ github.ref_name }}" + echo "GITHUB_REF = $GITHUB_REF" - name: Checkout code uses: actions/checkout@v4