Skip to content

Commit 01d25bc

Browse files
committed
Fix download artifact.
1 parent 3584f07 commit 01d25bc

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,7 @@ jobs:
168168

169169
- name: Save Docker Image
170170
id: save-docker-image
171-
# TODO(ahuszagh) Remove the multiline
172-
run: |
173-
docker save "ghcr.io/cross-rs/${IMAGE}:main-${SUB}" -o "${IMAGE}-main-${SUB}.tar"
174-
file "${IMAGE}-main-${SUB}.tar"
175-
ls -la .
171+
run: docker save "ghcr.io/cross-rs/${IMAGE}:main-${SUB}" -o "${IMAGE}-main-${SUB}.tar"
176172
env:
177173
IMAGE: ${{ matrix.image }}
178174
SUB: ${{ matrix.sub }}
@@ -275,18 +271,13 @@ jobs:
275271
if: steps.prepare-meta.outputs.has-image
276272
with:
277273
name: base-${{ env.BASE }}-image-tarball
278-
path: base.tar
279274

280275
- name: Load Base Image
281276
id: load-docker-image
282277
if: steps.prepare-meta.outputs.has-image
283-
# TODO(ahuszagh) Remove the multiline
284-
run: |
285-
pwd
286-
file "base.tar"
287-
ls -la .
288-
ls -la base.tar/
289-
docker load --input "base.tar"
278+
run: docker load --input "base-main-${BASE}.tar"
279+
env:
280+
SUB: ${{ matrix.sub }}
290281

291282
- name: Build Docker image
292283
id: build-docker-image

0 commit comments

Comments
 (0)