dont compress OCI images, copy result to tar.gz
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
621c85fd3b
commit
d11b03feab
1 changed files with 9 additions and 4 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -95,21 +95,26 @@ jobs:
|
||||||
- name: Build oci-image-x86_64-unknown-linux-gnu
|
- name: Build oci-image-x86_64-unknown-linux-gnu
|
||||||
run: |
|
run: |
|
||||||
./bin/nix-build-and-cache .#oci-image
|
./bin/nix-build-and-cache .#oci-image
|
||||||
|
cp result oci-image.tar.gz
|
||||||
|
|
||||||
- name: Upload artifact oci-image-x86_64-unknown-linux-gnu
|
- name: Upload artifact oci-image-x86_64-unknown-linux-gnu
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: oci-image-x86_64-unknown-linux-gnu
|
name: oci-image-x86_64-unknown-linux-gnu
|
||||||
path: result
|
path: oci-image.tar.gz
|
||||||
if-no-files-found: error
|
# don't compress again
|
||||||
|
compression-level: 0
|
||||||
|
|
||||||
- name: Build oci-image-aarch64-unknown-linux-musl
|
- name: Build oci-image-aarch64-unknown-linux-musl
|
||||||
run: |
|
run: |
|
||||||
./bin/nix-build-and-cache .#oci-image-aarch64-unknown-linux-musl
|
./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
|
- name: Upload artifact oci-image-aarch64-unknown-linux-musl
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: oci-image-aarch64-unknown-linux-musl
|
name: oci-image-aarch64-unknown-linux-musl
|
||||||
path: result
|
path: oci-image.tar.gz
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
# don't compress again
|
||||||
|
compression-level: 0
|
Loading…
Add table
Reference in a new issue