@@ -141,6 +141,14 @@ jobs:
141141 docker save "${IMAGE}" -o /tmp/tns-csi-pr-image.tar
142142 echo "Image saved to /tmp/tns-csi-pr-image.tar"
143143
144+ - name : Upload PR image artifact
145+ if : inputs.pr != ''
146+ uses : actions/upload-artifact@v6
147+ with :
148+ name : pr-image
149+ path : /tmp/tns-csi-pr-image.tar
150+ retention-days : 1
151+
144152 - name : Compute image tag from ref
145153 id : tag
146154 env :
@@ -212,6 +220,12 @@ jobs:
212220 with :
213221 k3s-args : ' --write-kubeconfig-mode 644 --disable=traefik --disable=local-storage'
214222 - uses : ./.github/actions/setup-snapshots
223+ - name : Download PR image artifact
224+ if : inputs.pr != ''
225+ uses : actions/download-artifact@v6
226+ with :
227+ name : pr-image
228+ path : /tmp
215229 - name : Import PR image into k3s
216230 if : inputs.pr != ''
217231 run : |
@@ -258,6 +272,12 @@ jobs:
258272 with :
259273 k3s-args : ' --write-kubeconfig-mode 644 --disable=traefik --disable=local-storage'
260274 - uses : ./.github/actions/setup-snapshots
275+ - name : Download PR image artifact
276+ if : inputs.pr != ''
277+ uses : actions/download-artifact@v6
278+ with :
279+ name : pr-image
280+ path : /tmp
261281 - name : Import PR image into k3s
262282 if : inputs.pr != ''
263283 run : |
@@ -304,6 +324,12 @@ jobs:
304324 with :
305325 k3s-args : ' --write-kubeconfig-mode 644 --disable=traefik --disable=local-storage'
306326 - uses : ./.github/actions/setup-snapshots
327+ - name : Download PR image artifact
328+ if : inputs.pr != ''
329+ uses : actions/download-artifact@v6
330+ with :
331+ name : pr-image
332+ path : /tmp
307333 - name : Import PR image into k3s
308334 if : inputs.pr != ''
309335 run : |
@@ -349,6 +375,12 @@ jobs:
349375 with :
350376 k3s-args : ' --write-kubeconfig-mode 644 --disable=traefik --disable=local-storage'
351377 - uses : ./.github/actions/setup-snapshots
378+ - name : Download PR image artifact
379+ if : inputs.pr != ''
380+ uses : actions/download-artifact@v6
381+ with :
382+ name : pr-image
383+ path : /tmp
352384 - name : Import PR image into k3s
353385 if : inputs.pr != ''
354386 run : |
0 commit comments