diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 8f6da26..5a3194d 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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