mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-13 22:51:31 +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
|
- name: archive base
|
||||||
run: |
|
run: |
|
||||||
mkdir -p cache
|
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
|
- name: save base
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -54,7 +54,7 @@ jobs:
|
|||||||
name: cache
|
name: cache
|
||||||
path: ./cache
|
path: ./cache
|
||||||
- name: load base
|
- name: load base
|
||||||
run: docker load -i ./cache/base.tar
|
run: xz -d -k < base.tar.xz | docker load
|
||||||
- name: build
|
- name: build
|
||||||
run: make ${{ matrix.arch_name }}
|
run: make ${{ matrix.arch_name }}
|
||||||
- name: test
|
- name: test
|
||||||
|
Loading…
Reference in New Issue
Block a user