ignore v0* tags builds

This commit is contained in:
Abdulmhsen B. A. A
2022-02-19 21:44:32 +03:00
parent 1789a78643
commit 665b70cd9b

View File

@@ -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