mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 00:14:26 +01:00
ci: use docker import-export instead of load-save
To avoid: open /var/lib/docker/tmp/docker-import-2294564057/repositories: no such file or directory observed in itk-wasm.
This commit is contained in:
parent
50baccd0fa
commit
3ac4aed3aa
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
- name: archive base
|
||||
run: |
|
||||
mkdir -p cache
|
||||
docker save dockcross/base:latest | xz -e9 -T0 > ./cache/base.tar.xz
|
||||
docker export dockcross/base:latest | xz -e9 -T0 > ./cache/base.tar.xz
|
||||
|
||||
- name: save base
|
||||
uses: actions/upload-artifact@v4
|
||||
@ -1068,7 +1068,7 @@ jobs:
|
||||
path: ./cache
|
||||
|
||||
- name: load base
|
||||
run: xz -d -k < ./cache/base.tar.xz | docker load
|
||||
run: xz -d -k < ./cache/base.tar.xz | docker import - dockcross/base:latest
|
||||
|
||||
- name: build
|
||||
run: make ${{ matrix.arch_name.image }}
|
||||
|
Loading…
Reference in New Issue
Block a user