Skip to content

Commit

Permalink
Update docker-publish.yml to use semver labels for images (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-low authored Nov 13, 2024
1 parent 6195f8c commit 505b402
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
# Build and push Docker image with Buildx
# https://github.com/docker/build-push-action
Expand Down

0 comments on commit 505b402

Please sign in to comment.