Skip to content

Commit

Permalink
Merge pull request #96 from beabee-communityrm/build/prerelease-check
Browse files Browse the repository at this point in the history
build: stop prerelease builds getting tagged as release
  • Loading branch information
wpf500 authored Nov 26, 2024
2 parents c3e499b + 053f11a commit e691b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
type=ref,event=tag
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' }}
type=raw,value=release,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
type=raw,value=release,enable=${{ startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
build-push-backend:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e691b8e

Please sign in to comment.