ci: fix github workflow syntax

This commit is contained in:
Zaiming (Stone) Shi 2022-06-17 22:23:20 +02:00
parent ee5e402bab
commit 56de8af04f
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ jobs:
- uses: docker/build-push-action@v2 - uses: docker/build-push-action@v2
with: with:
push: > push: >
${{ (startsWith(github.ref, 'refs/tags/') ${{ startsWith(github.ref, 'refs/tags/')
|| (github.event.repository.owner != 'emqx' && startsWith(github.ref_name, 'ci/')) }} || (github.event.repository.owner != 'emqx' && startsWith(github.ref_name, 'ci/')) }}
pull: true pull: true
no-cache: true no-cache: true