From c35ad653f3abdbb732416736bf8539f50b03980a Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Wed, 9 Aug 2023 09:33:17 +0200 Subject: [PATCH] ci: process both string and boolean values of inputs.publish --- .github/workflows/build_and_push_docker_images.yaml | 2 +- .github/workflows/build_packages.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_push_docker_images.yaml b/.github/workflows/build_and_push_docker_images.yaml index e3c3ff722..6c7bdbeff 100644 --- a/.github/workflows/build_and_push_docker_images.yaml +++ b/.github/workflows/build_and_push_docker_images.yaml @@ -169,7 +169,7 @@ jobs: - uses: docker/build-push-action@v3 with: - push: ${{ inputs.publish == 'true' || github.repository_owner != 'emqx' }} + push: ${{ inputs.publish == 'true' || inputs.publish || github.repository_owner != 'emqx' }} pull: true no-cache: true platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 2fd7d2d90..cbe95b974 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -268,7 +268,7 @@ jobs: needs: - mac - linux - if: ${{ inputs.publish == 'true' }} + if: inputs.publish == 'true' || inputs.publish strategy: fail-fast: false matrix: