Browse Source

ci: fix github workflow syntax

Zaiming (Stone) Shi 3 years atrás
parent
commit
61b984c031
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/build_and_push_docker_images.yaml

+ 1 - 1
.github/workflows/build_and_push_docker_images.yaml

@@ -196,7 +196,7 @@ jobs:
   docker-push-multi-arch-manifest:
   docker-push-multi-arch-manifest:
     # note, we only run on amd64
     # note, we only run on amd64
     if: >
     if: >
-      ${{ (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/'))
     needs:
     needs:
       - prepare
       - prepare