Skip to content

Commit 29507b3

Browse files
committed
Use a better check for tags when publishing.
1 parent 7f8b022 commit 29507b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196

197197
publish:
198198
name: Publish the binary
199-
if: ${{ contains(github.ref, '/refs/tags/v') }}
199+
if: ${{ github.ref_type == 'tag' }}
200200
needs:
201201
- setup
202202
- test
@@ -205,7 +205,7 @@ jobs:
205205
env:
206206
QUAY_USER: ${{ secrets.QUAY_USER }}
207207
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
208-
TAG: ${{ github.ref }}
208+
TAG: ${{ github.ref_name }}
209209

210210
steps:
211211
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)