From a8955f53af9e28c1a0d76d637167c79d28db2ec2 Mon Sep 17 00:00:00 2001 From: Stefan Oltmann Date: Wed, 18 Dec 2024 00:10:41 +0100 Subject: [PATCH] Also pull the image and add it as an artifact --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c272488..1e07436 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,3 +29,14 @@ jobs: context: . push: true tags: ghcr.io/ashampoo/imageproxy:latest + + - name: Save Docker image as a tar archive + run: | + docker pull ghcr.io/ashampoo/imageproxy:latest + docker save -o imageproxy-latest.tar ghcr.io/ashampoo/imageproxy:latest + + - name: Upload Docker image as an artifact + uses: actions/upload-artifact@v3 + with: + name: docker-image-tar + path: imageproxy-latest.tar