Skip to content

Commit

Permalink
We shouldn't update the release image on prerelease tags (e.g. -alpha…
Browse files Browse the repository at this point in the history
….1, -beta, etc.)
  • Loading branch information
wpf500 committed Nov 26, 2024
1 parent 9520bf8 commit 053f11a
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 053f11a

Please sign in to comment.