From d11b03feab4ac85139e4d06733a700a99433f3ec Mon Sep 17 00:00:00 2001 From: strawberry Date: Mon, 29 Jan 2024 19:44:46 -0500 Subject: [PATCH] dont compress OCI images, copy result to tar.gz Signed-off-by: strawberry --- .github/workflows/ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9a468a7..ce422e41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,21 +95,26 @@ jobs: - name: Build oci-image-x86_64-unknown-linux-gnu run: | ./bin/nix-build-and-cache .#oci-image + cp result oci-image.tar.gz - name: Upload artifact oci-image-x86_64-unknown-linux-gnu uses: actions/upload-artifact@v4 with: name: oci-image-x86_64-unknown-linux-gnu - path: result - if-no-files-found: error + path: oci-image.tar.gz + # don't compress again + compression-level: 0 - name: Build oci-image-aarch64-unknown-linux-musl run: | ./bin/nix-build-and-cache .#oci-image-aarch64-unknown-linux-musl + cp result oci-image.tar.gz - name: Upload artifact oci-image-aarch64-unknown-linux-musl uses: actions/upload-artifact@v4 with: name: oci-image-aarch64-unknown-linux-musl - path: result - if-no-files-found: error \ No newline at end of file + path: oci-image.tar.gz + if-no-files-found: error + # don't compress again + compression-level: 0 \ No newline at end of file