From 636ac98c49d10e2c78f5f882ddbd8f77c8e413ab Mon Sep 17 00:00:00 2001 From: Espen Hagen <2492641+espenhgn@users.noreply.github.com> Date: Wed, 8 May 2024 16:08:41 +0200 Subject: [PATCH] shell --- .github/workflows/docker_build_push.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker_build_push.yml b/.github/workflows/docker_build_push.yml index 66886cd..3bd47b8 100644 --- a/.github/workflows/docker_build_push.yml +++ b/.github/workflows/docker_build_push.yml @@ -92,7 +92,6 @@ jobs: docker run --rm --privileged -v $(pwd):/work kaczmarj/apptainer build nothingtoseehere.sif docker://"$first_tag" # oras push "$push_tags" nothingtoseehere.sif # echo ${{ secrets.GITHUB_TOKEN }} | - docker run --rm --privileged -v $(pwd):/work kaczmarj/apptainer remote login -u ${{ github.repository_owner }} -p ${{ secrets.GITHUB_TOKEN }} oras://ghcr.io - docker run --rm --privileged -v $(pwd):/work kaczmarj/apptainer push nothingtoseehere.sif oras://"$first_tag" + docker run -it --rm --privileged --entrypoint /bin/sh -v $(pwd):/work kaczmarj/apptainer -c "apptainer remote login -u ${{ github.repository_owner }} -p ${{ secrets.GITHUB_TOKEN }} oras://ghcr.io && apptainer push nothingtoseehere.sif oras://$first_tag" rm nothingtoseehere.sif shell: sh