Better tags for latest

This commit is contained in:
ViViDboarder 2022-08-10 14:41:30 -07:00
parent d88042153f
commit 95baa0b710
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ jobs:
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# Tag default branch as latest
type=raw,value=latest,enable={{is_default_branch}}
# Semver tags for tagged versions
type=semver,pattern={{version}}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action