ci: cancel latest tag for docker image
only EMQX 5.0 image can update latest tag
This commit is contained in:
parent
56a0a19807
commit
6630fe6318
|
@ -365,9 +365,9 @@ jobs:
|
|||
id: meta
|
||||
with:
|
||||
images: ${{ matrix.registry }}/${{ github.repository_owner }}/${{ matrix.profile }}
|
||||
## only stable tag is latest
|
||||
## only 5.0 is latest
|
||||
flavor: |
|
||||
latest=${{ contains(github.ref, 'tags') && !contains(github.ref_name, 'rc') && !contains(github.ref_name, 'beta') && !contains(github.ref_name, 'alpha') }}
|
||||
latest=false
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
|
|
Loading…
Reference in New Issue