From 950d69eb66ddd8fefbd7c60952052c96c478a26d Mon Sep 17 00:00:00 2001 From: strawberry Date: Mon, 29 Jan 2024 19:27:04 -0500 Subject: [PATCH] build OCI images for x86_64 and aarch64 in CI Signed-off-by: strawberry --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87145977..e9a468a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,4 +90,26 @@ jobs: with: name: static-aarch64-unknown-linux-musl path: result/bin/conduit + if-no-files-found: error + + - name: Build oci-image-x86_64-unknown-linux-gnu + run: | + ./bin/nix-build-and-cache .#oci-image + + - 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 + + - name: Build oci-image-aarch64-unknown-linux-musl + run: | + ./bin/nix-build-and-cache .#oci-image-aarch64-unknown-linux-musl + + - 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