Skip to content

Commit

Permalink
chore: set latest only on non-prereleases and remove suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Aug 22, 2024
1 parent 43ca143 commit d7643c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ jobs:
type=semver,pattern={{major}},value=${{ steps.version.outputs.result }},enable=${{ steps.version.outputs.result != '' }}
type=ref,event=pr
flavor: |
suffix=${{ steps.suffix.outputs.result }},onlatest=true
latest=${{ github.event_name == 'release' }}
latest=${{ github.event_name == 'release' && !github.event.release.prerelease }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit d7643c3

Please sign in to comment.