diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 65364c62..b97c3934 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,7 +7,7 @@ name: Docker on: push: - branches: [ master ] + branches: [ master, stable ] # Publish vX.X.X tags as releases. tags: [ 'v*.*.*' ] @@ -115,13 +115,14 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} flavor: | - latest=true + latest=false prefix= suffix= tags: | type=ref,event=branch - type=ref,event=tag type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern=v{{major}} # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action