Skip to content

Commit

Permalink
ci: fix tag condition
Browse files Browse the repository at this point in the history
  • Loading branch information
detj committed Aug 19, 2024
1 parent fb47b8b commit d77728c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
push:
name: Build and push image
runs-on: ubuntu-latest
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')
needs: [build, test]
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
push:
name: Build and push image
runs-on: ubuntu-latest
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')
needs: [build, test]
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
push:
name: Build and push image
runs-on: ubuntu-latest
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')
needs: [unit-test]
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/symbolicator-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
push:
name: Build Docker image
runs-on: ubuntu-latest
if: github.ref_type == 'tag' && startsWith(github.ref, 'v')
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')
needs: [build-and-test]
permissions:
contents: read
Expand Down

0 comments on commit d77728c

Please sign in to comment.