docker publish: create semver tags

This commit is contained in:
codl 2022-08-10 09:36:28 +02:00
parent 43ba8e1362
commit 0fdff9ff6e
1 changed files with 9 additions and 0 deletions

View File

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