Skip to content

Commit

Permalink
Fix conditions for Docker build and cache name (#3340)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Dec 7, 2022
1 parent e0549cc commit 7e2397f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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' }}

0 comments on commit 7e2397f

Please sign in to comment.