Skip to content

Commit 80178a8

Browse files
committed
Add Load Image step
1 parent 6d9dff8 commit 80178a8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/_container.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
# Need load and tags so we can test it below
3434
load: true
3535
tags: tag_for_testing
36+
outputs: dest=${{ runner.temp }}/myimage.tar
3637

3738
- name: Test cli works in cached runtime image
3839
run: docker run --rm tag_for_testing --version
@@ -41,4 +42,4 @@ jobs:
4142
uses: actions/upload-artifact@v4
4243
with:
4344
name: container
44-
path: container
45+
path: ${{ runner.temp }}/myimage.tar

.github/workflows/_push_container.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ jobs:
1010
uses: actions/download-artifact@v4
1111
with:
1212
name: container
13-
path: container
13+
path: ${{ runner.temp }}
14+
15+
- name: Load image
16+
run: |
17+
docker load --input ${{ runner.temp}}/myimage.tar
1418
1519
- name: Create tags for publishing image
1620
id: meta

0 commit comments

Comments
 (0)