Skip to content

Commit

Permalink
fix: no major tag for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
KEGustafsson authored Dec 28, 2024
1 parent 430ae76 commit ba78e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ jobs:
- name: Set tags
id: set-tags
run: |
echo "tags=${{ steps.vars.outputs.tag }},${{ steps.vars.outputs.MAJOR }}" >> $GITHUB_OUTPUT
echo "tags=${{ steps.vars.outputs.tag }}" >> $GITHUB_OUTPUT
if [[ "${{ steps.vars.outputs.tag }}" != *beta* ]]; then
echo "tags=${{ steps.set-tags.outputs.tags }},latest" >> $GITHUB_OUTPUT
echo "tags=${{ steps.set-tags.outputs.tags }},${{ steps.vars.outputs.MAJOR }},latest" >> $GITHUB_OUTPUT
fi
- name: Build and push
uses: docker/build-push-action@v5
Expand Down

0 comments on commit ba78e70

Please sign in to comment.