File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 21
21
path : /tmp/jupyter/images/
22
22
- name : Load downloaded image to docker 📥
23
23
run : |
24
- docker load --input /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar
24
+ zstd --uncompress --stdout --rm /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar.zst | docker load
25
25
docker image ls --all
26
26
shell : bash
27
- - name : Delete the file 🗑️
28
- run : rm /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar
29
- shell : bash
Original file line number Diff line number Diff line change @@ -96,11 +96,11 @@ jobs:
96
96
- name : Save image as a tar for later use 💾
97
97
run : |
98
98
mkdir -p /tmp/jupyter/images/
99
- docker save ${{ env.OWNER }}/${{ inputs.image }} -o /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar
99
+ docker save ${{ env.OWNER }}/${{ inputs.image }} | zstd > /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar.zst
100
100
shell : bash
101
101
- name : Upload image as artifact 💾
102
102
uses : actions/upload-artifact@v3
103
103
with :
104
104
name : ${{ inputs.image }}-${{ inputs.platform }}
105
- path : /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar
105
+ path : /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar.zst
106
106
retention-days : 3
You can’t perform that action at this time.
0 commit comments