Skip to content

Commit

Permalink
Use pre-release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Aug 2, 2024
1 parent 4e8b3d3 commit fa4999d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{raw}}
type=raw,value=latest,enable={{is_default_branch}}
- run: echo ${{ steps.meta.outputs.tags }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
type=raw,value=latest,enable={{!github.event.prerelease}}
type=raw,value=pre-release,enable={{!github.event.prerelease}}
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# push: true
# tags: ${{ steps.meta.outputs.tags }}

0 comments on commit fa4999d

Please sign in to comment.