Skip to content

Commit 7e2397f

Browse files
authored
Fix conditions for Docker build and cache name (#3340)
1 parent e0549cc commit 7e2397f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/update-docker-images.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
110110
with:
111111
path: ${{ github.workspace }}/dist
112-
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}
112+
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi
113113

114114
test:
115115
name: Run tests
@@ -137,7 +137,7 @@ jobs:
137137
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
138138
with:
139139
path: ${{ github.workspace }}/dist
140-
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}
140+
key: nginx-ingress-${{ github.run_id }}-${{ github.run_number }}-multi
141141
if: ${{ matrix.needs-updating == 'true' }}
142142
- name: Run Smoke Tests
143143
id: smoke-tests
@@ -164,7 +164,7 @@ jobs:
164164
tag: ${{ needs.variables.outputs.kic-tag }}
165165
sha_long: ${{ needs.variables.outputs.sha_long }}
166166
secrets: inherit
167-
if: ${{ needs.check.outputs.needs-updating-debian }}
167+
if: ${{ needs.check.outputs.needs-updating-debian == 'true' }}
168168

169169
release-docker-alpine:
170170
name: Release Alpine Image
@@ -176,7 +176,7 @@ jobs:
176176
tag: ${{ needs.variables.outputs.kic-tag }}
177177
sha_long: ${{ needs.variables.outputs.sha_long }}
178178
secrets: inherit
179-
if: ${{ needs.check.outputs.needs-updating-alpine }}
179+
if: ${{ needs.check.outputs.needs-updating-alpine == 'true' }}
180180

181181
release-docker-ubi:
182182
name: Release UBI Image
@@ -188,4 +188,4 @@ jobs:
188188
tag: ${{ needs.variables.outputs.kic-tag }}
189189
sha_long: ${{ needs.variables.outputs.sha_long }}
190190
secrets: inherit
191-
if: ${{ needs.check.outputs.needs-updating-ubi }}
191+
if: ${{ needs.check.outputs.needs-updating-ubi == 'true' }}

0 commit comments

Comments
 (0)