From d43f1cdfa54db5bd9905e74f111dc3c79f570e89 Mon Sep 17 00:00:00 2001 From: Oguz Ozturk Date: Mon, 19 Feb 2024 00:53:39 +0300 Subject: [PATCH] fix Signed-off-by: Oguz Ozturk --- .github/actions/docker-build-and-push/action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/docker-build-and-push/action.yaml b/.github/actions/docker-build-and-push/action.yaml index 58f2f0e7e40..520df22f2d5 100644 --- a/.github/actions/docker-build-and-push/action.yaml +++ b/.github/actions/docker-build-and-push/action.yaml @@ -68,7 +68,7 @@ runs: suffix=-devel${{ inputs.tag-suffix }} - name: Docker meta for runtime - if: ${{ github.event_name == 'workflow_dispatch' }} || ( ${{ github.event_name == "push" && github.ref_type == "tag" }} ) + if: ${{ github.event_name == 'workflow_dispatch' }} || ${{ (github.event_name == 'push' && github.ref_type == 'tag') }} id: meta-runtime uses: docker/metadata-action@v4 with: @@ -76,7 +76,7 @@ runs: tags: ${{ steps.set-docker-tags.outputs.tags }} bake-target: docker-metadata-action-runtime flavor: | - latest=${{ github.event_name == "push" && github.ref_type == "tag" }} + latest=${{ github.event_name == 'push' && github.ref_type == 'tag' }} suffix=-runtime${{ inputs.tag-suffix }} - name: Login to GitHub Container Registry @@ -88,7 +88,7 @@ runs: password: ${{ github.token }} - name: Build and Push - prebuilt and devel - if: ${{ (github.event_name == "push" && github.ref_type == "branch") || github.event_name == "schedule" }} + if: ${{ (github.event_name == 'push' && github.ref_type == 'branch') || github.event_name == 'schedule' }} uses: docker/bake-action@v3 with: # Checking event_name for https://github.com/autowarefoundation/autoware/issues/2796