File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,6 @@ inputs:
14
14
runs :
15
15
using : composite
16
16
steps :
17
- # Self-hosted runners share a state (whole VM) between runs
18
- - name : Reset docker state 🗑️
19
- run : docker system prune --all --force
20
- shell : bash
21
-
22
17
- name : Download built image 📥
23
18
uses : actions/download-artifact@v3
24
19
with :
Original file line number Diff line number Diff line change 31
31
with :
32
32
platform : ${{ inputs.platform }}
33
33
34
+ # Self-hosted runners share a state (whole VM) between runs
35
+ - name : Reset docker state 🗑️
36
+ if : ${{ inputs.platform != 'amd64' }}
37
+ run : docker system prune --all --force
38
+ shell : bash
39
+
34
40
- name : Load parent built image to Docker 📥
35
41
if : ${{ inputs.parentImage != '' }}
36
42
uses : ./.github/actions/load-image
Original file line number Diff line number Diff line change 37
37
with :
38
38
platform : ${{ inputs.platform }}
39
39
40
+ # Self-hosted runners share a state (whole VM) between runs
41
+ - name : Reset docker state 🗑️
42
+ if : ${{ inputs.platform != 'amd64' }}
43
+ run : docker system prune --all --force
44
+ shell : bash
45
+
40
46
- name : Load image to Docker 📥
41
47
uses : ./.github/actions/load-image
42
48
with :
You can’t perform that action at this time.
0 commit comments