Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conditions for Docker build and cache name #3340

Merged
merged 1 commit into from
Dec 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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' }}