fix(ci): better version tagging

This commit is contained in:
Matthew Kilgore
2024-06-18 22:12:15 -04:00
parent 101e6b0802
commit bf6151ed61

View File

@@ -64,6 +64,11 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action