Skip to content

Commit

Permalink
Use semver tags and latest only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Aug 1, 2024
1 parent 5a79a20 commit f0296dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ghcr.io/${{ github.repository }}
# tags: |
# type=raw,value=latest,enable={{is_default_branch}}
tags: |
type=semver,pattern={{latest}}
type=raw,value=latest,enable={{is_default_branch}}
- run: echo ${{ steps.meta.outputs.tags }}
- run: echo ${{ steps.meta.outputs.labels }}
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
Expand Down

0 comments on commit f0296dd

Please sign in to comment.