Skip to content

Commit

Permalink
tag latest on release
Browse files Browse the repository at this point in the history
  • Loading branch information
vanchaxy committed Nov 28, 2024
1 parent 62b0e3f commit 72b642a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}},value=${{ inputs.version }}
latest=${{ github.event.release.prerelease == 'false' && 'latest' || '' }}
type=raw,value=latest,enable=${{github.event.release.prerelease == 'false'}}
- name: Build and push Docker image
uses: docker/build-push-action@v5.3.0
Expand Down

0 comments on commit 72b642a

Please sign in to comment.