Skip to content

Commit

Permalink
shell
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn committed May 8, 2024
1 parent 8c2a913 commit 636ac98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 636ac98

Please sign in to comment.