branch is needed to get at least one tag before adding latest through flavor
MODIFY
.github/workflows/docker-image.yml
.github/workflows/docker-image.yml
@@ -40,6 +40,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
+ type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/0.') }}

branch is needed to get at least one tag before adding latest through flavor