Skip to content

Commit 3342f64

Browse files
committed
Attempt saving to tarball.
1 parent 4ee5d53 commit 3342f64

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
@@ -160,6 +160,19 @@ jobs:
160160
LATEST: ${{ needs.check.outputs.is-latest || 'false' }}
161161
shell: bash
162162

163+
- name: Save Docker Image
164+
id: save-docker-image
165+
uses: docker/metadata-action@v4
166+
run: docker save "${IMAGE}:${TAG}" -o "${IMAGE}-${TAG}.tar"
167+
env:
168+
IMAGE: ${{ matrix.image }}
169+
TAG: ${{ github.ref.name }}
170+
171+
- uses: actions/upload-artifact@v2
172+
with:
173+
name: ${{ matrix.image }}-image-tarball
174+
path: ${{ matrix.image }}-${{ github.ref.name }}.tar
175+
163176
- uses: ./.github/actions/cargo-install-upload-artifacts
164177
if: matrix.deploy
165178
with:

0 commit comments

Comments
 (0)