Skip to content

Commit

Permalink
Attempt to fix username in container registry workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirker committed Dec 12, 2024
1 parent b08c0d7 commit 01a8d26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sifs-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- name: Login and Deploy Container
run: |
echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
#echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${GITHUB_ACTOR} --password-stdin oras://ghcr.io
find sifs -exec singularity push {} oras://ghcr.io/${GITHUB_REPOSITORY}:{}${tag} \;
#singularity push container.sif oras://ghcr.io/${GITHUB_REPOSITORY}:${tag}

0 comments on commit 01a8d26

Please sign in to comment.