File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -44,17 +44,11 @@ jobs:
44
44
45
45
- name : Build Docker image
46
46
run : |
47
- docker build -t tf2.4_ivim-mri_codecollection -f Docker/Dockerfile .
47
+ docker buildx build --output type=tar,dest= tf2.4_ivim-mri_codecollection.tar -f Docker/Dockerfile .
48
48
49
- - name : Save and compress Docker image
49
+ - name : Compress Docker image
50
50
run : |
51
- docker save tf2.4_ivim-mri_codecollection | gzip > tf2.4_ivim-mri_codecollection.tar.gz
52
-
53
- - name : Upload Docker image artifact
54
- uses : actions/upload-artifact@v4
55
- with :
56
- name : docker-image
57
- path : tf2.4_ivim-mri_codecollection.tar.gz
51
+ gzip tf2.4_ivim-mri_codecollection.tar
58
52
59
53
- name : Run Docker container
60
54
run : |
73
67
done
74
68
echo "All output files generated successfully"
75
69
70
+ - name : Upload Docker image artifact
71
+ uses : actions/upload-artifact@v4
72
+ with :
73
+ name : docker-image
74
+ path : tf2.4_ivim-mri_codecollection.tar.gz
75
+
76
76
- name : Clean up artifacts and Docker image
77
77
run : |
78
78
docker rmi tf2.4_ivim-mri_codecollection || true
You can’t perform that action at this time.
0 commit comments