diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 578e60d6..73797f7a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,8 @@ on: - 'dev' tags: - 'v*' + tags-ignore: + - 'v0*' pull_request: jobs: @@ -53,7 +55,7 @@ jobs: tags: | type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=raw,value=dev-latest,enable=${{ endsWith(github.ref, '/dev') }} - type=ref,event=tag,enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }} + type=ref,event=tag type=sha,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} flavor: | latest=false