Skip to content

Commit dca7da3

Browse files
committed
Switched to singularity registry login
1 parent 5102366 commit dca7da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Login and Deploy Container
9696
if: (github.event_name != 'pull_request') && ( env.keepgoing == 'true' )
9797
run: |
98-
echo "${{ secrets.GITHUB_TOKEN }}" | singularity remote login -u "${{ secrets.GHCR_USERNAME }}" --password-stdin oras://ghcr.io
98+
singularity registry login -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" oras://ghcr.io
9999
declare -a tags=( ${{ needs.gather-metadata.outputs.tags }} )
100100
for tag in "${tags[@]}" ; do
101101
echo singularity push container.sif "oras://ghcr.io/${GITHUB_REPOSITORY}:${tag}"

0 commit comments

Comments
 (0)