mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
Add compression for base image
Add .tar.xz with maximum compression -e9 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
bfd2f18e73
commit
c25ebfcee8
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
- name: archive base
|
||||
run: |
|
||||
mkdir -p cache
|
||||
docker save -o ./cache/base.tar dockcross/base:latest
|
||||
docker save dockcross/base:latest | xz -e9 -T0 > base.tar.xz
|
||||
- name: save base
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
name: cache
|
||||
path: ./cache
|
||||
- name: load base
|
||||
run: docker load -i ./cache/base.tar
|
||||
run: xz -d -k < base.tar.xz | docker load
|
||||
- name: build
|
||||
run: make ${{ matrix.arch_name }}
|
||||
- name: test
|
||||
|
Loading…
Reference in New Issue
Block a user