Skip to content

Commit a8955f5

Browse files
committed
Also pull the image and add it as an artifact
1 parent 7d3d718 commit a8955f5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,14 @@ jobs:
2929
context: .
3030
push: true
3131
tags: ghcr.io/ashampoo/imageproxy:latest
32+
33+
- name: Save Docker image as a tar archive
34+
run: |
35+
docker pull ghcr.io/ashampoo/imageproxy:latest
36+
docker save -o imageproxy-latest.tar ghcr.io/ashampoo/imageproxy:latest
37+
38+
- name: Upload Docker image as an artifact
39+
uses: actions/upload-artifact@v3
40+
with:
41+
name: docker-image-tar
42+
path: imageproxy-latest.tar

0 commit comments

Comments
 (0)