From 7e2397f8a146ed4d0c6b26aeb4fb45b58dfd4c9a Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Wed, 7 Dec 2022 23:48:12 +0700 Subject: [PATCH] Fix conditions for Docker build and cache name (#3340) --- .github/workflows/update-docker-images.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-docker-images.yml b/.github/workflows/update-docker-images.yml index a350f6595d..b87453e07c 100644 --- a/.github/workflows/update-docker-images.yml +++ b/.github/workflows/update-docker-images.yml @@ -109,7 +109,7 @@ jobs: uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11 with: path: ${{ github.workspace }}/dist - key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }} + key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi test: name: Run tests @@ -137,7 +137,7 @@ jobs: uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11 with: path: ${{ github.workspace }}/dist - key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }} + key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi if: ${{ matrix.needs-updating == 'true' }} - name: Run Smoke Tests id: smoke-tests @@ -164,7 +164,7 @@ jobs: tag: ${{ needs.variables.outputs.kic-tag }} sha_long: ${{ needs.variables.outputs.sha_long }} secrets: inherit - if: ${{ needs.check.outputs.needs-updating-debian }} + if: ${{ needs.check.outputs.needs-updating-debian == 'true' }} release-docker-alpine: name: Release Alpine Image @@ -176,7 +176,7 @@ jobs: tag: ${{ needs.variables.outputs.kic-tag }} sha_long: ${{ needs.variables.outputs.sha_long }} secrets: inherit - if: ${{ needs.check.outputs.needs-updating-alpine }} + if: ${{ needs.check.outputs.needs-updating-alpine == 'true' }} release-docker-ubi: name: Release UBI Image @@ -188,4 +188,4 @@ jobs: tag: ${{ needs.variables.outputs.kic-tag }} sha_long: ${{ needs.variables.outputs.sha_long }} secrets: inherit - if: ${{ needs.check.outputs.needs-updating-ubi }} + if: ${{ needs.check.outputs.needs-updating-ubi == 'true' }}