Skip to content

Commit bf4ca1c

Browse files
committed
Attempt saving to tarball.
1 parent b74a1bd commit bf4ca1c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,19 @@ jobs:
171171
LATEST: ${{ needs.check.outputs.is-latest || 'false' }}
172172
shell: bash
173173

174+
- name: Save Docker Image
175+
id: save-docker-image
176+
uses: docker/metadata-action@v4
177+
run: docker save "${IMAGE}:${TAG}" -o "${IMAGE}-${TAG}.tar"
178+
env:
179+
IMAGE: ${{ matrix.image }}
180+
TAG: ${{ github.ref.name }}
181+
182+
- uses: actions/upload-artifact@v2
183+
with:
184+
name: ${{ matrix.image }}-image-tarball
185+
path: ${{ matrix.image }}-${{ github.ref.name }}.tar
186+
174187
- uses: ./.github/actions/cargo-install-upload-artifacts
175188
if: matrix.deploy
176189
with:

0 commit comments

Comments
 (0)