Skip to content

Commit

Permalink
Merge pull request #15 from holysoles/dont-set-latest-for-build
Browse files Browse the repository at this point in the history
Stop prereleases from being tagged as latest
  • Loading branch information
holysoles authored Apr 27, 2024
2 parents 6c9e99a + c8250cf commit f46ea74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/image_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{ version }}
type=raw,value=latest,enable=${{ !github.event.release.prerelease }}
- name: image build and push
uses: docker/[email protected]
with:
Expand Down

0 comments on commit f46ea74

Please sign in to comment.