diff --git a/.github/workflows/docker-build-and-run.yml b/.github/workflows/docker-build-and-run.yml index b083e2d..f68a624 100644 --- a/.github/workflows/docker-build-and-run.yml +++ b/.github/workflows/docker-build-and-run.yml @@ -44,11 +44,11 @@ jobs: - name: Build Docker image run: | - docker buildx build --output type=tar,dest=tf2.4_ivim-mri_codecollection.tar -f Docker/Dockerfile . + docker build -t tf2.4_ivim-mri_codecollection -f Docker/Dockerfile . - - name: Compress Docker image + - name: Save and compress Docker image run: | - gzip tf2.4_ivim-mri_codecollection.tar + docker save tf2.4_ivim-mri_codecollection | gzip > tf2.4_ivim-mri_codecollection.tar.gz - name: Run Docker container run: |