Merge pull request #7502 from emqx/copy-of-main-v4.3
Merge main-v4.3 to main-v4.4
This commit is contained in:
commit
d676f8488e
|
@ -322,8 +322,9 @@ jobs:
|
|||
id: meta
|
||||
with:
|
||||
images: ${{ matrix.registry }}/${{ github.repository_owner }}/${{ matrix.profile }}
|
||||
## only stable tag is latest
|
||||
flavor: |
|
||||
latest=${{ !github.event.release.prerelease }}
|
||||
latest=${{ contains(github.ref, 'tags') && !contains(github.ref_name, 'rc') && !contains(github.ref_name, 'beta') && !contains(github.ref_name, 'alpha') }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
|
@ -333,7 +334,8 @@ jobs:
|
|||
- uses: docker/build-push-action@v2
|
||||
if: matrix.profile != 'emqx-ee'
|
||||
with:
|
||||
push: ${{ github.event_name == 'release' && !github.event.release.prerelease }}
|
||||
## only push when stable tag and rc tag
|
||||
push: ${{ contains(github.ref, 'tags') && !contains(github.ref_name, 'beta') && !contains(github.ref_name, 'alpha') }}
|
||||
pull: true
|
||||
no-cache: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
@ -348,7 +350,8 @@ jobs:
|
|||
- uses: docker/build-push-action@v2
|
||||
if: matrix.profile == 'emqx-ee'
|
||||
with:
|
||||
push: ${{ github.event_name == 'release' && !github.event.release.prerelease }}
|
||||
## only push when stable tag and rc tag
|
||||
push: ${{ contains(github.ref, 'tags') && !contains(github.ref_name, 'beta') && !contains(github.ref_name, 'alpha') }}
|
||||
pull: true
|
||||
no-cache: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
|
Loading…
Reference in New Issue