Skip to content

Commit a6ddfb2

Browse files
committed
Revert from archiving to saving then archiving
1 parent a4136f8 commit a6ddfb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-build-and-run.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444

4545
- name: Build Docker image
4646
run: |
47-
docker buildx build --output type=tar,dest=tf2.4_ivim-mri_codecollection.tar -f Docker/Dockerfile .
47+
docker build -t tf2.4_ivim-mri_codecollection -f Docker/Dockerfile .
4848
49-
- name: Compress Docker image
49+
- name: Save and compress Docker image
5050
run: |
51-
gzip tf2.4_ivim-mri_codecollection.tar
51+
docker save tf2.4_ivim-mri_codecollection | gzip > tf2.4_ivim-mri_codecollection.tar.gz
5252
5353
- name: Run Docker container
5454
run: |

0 commit comments

Comments
 (0)