From a6ddfb2713385163df3e4cc200c28921881a5a53 Mon Sep 17 00:00:00 2001 From: Usman Akinyemi Date: Tue, 1 Oct 2024 06:03:23 +0000 Subject: [PATCH] Revert from archiving to saving then archiving --- .github/workflows/docker-build-and-run.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: |