Skip to content

Commit 7c0a20a

Browse files
committed
Trying to have a working upload to singularity hub or ORAS
1 parent 898d81e commit 7c0a20a

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
@@ -113,5 +113,5 @@ jobs:
113113
singularity registry login -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" oras://ghcr.io
114114
declare -a tags=( ${{ needs.gather-metadata.outputs.tags }} )
115115
for tag in "${tags[@]}" ; do
116-
singularity push container.sif "oras://ghcr.io/${GITHUB_REPOSITORY}${tag}"
116+
singularity push container.sif "oras://ghcr.io/${GITHUB_REPOSITORY}:${tag#*:}"
117117
done

0 commit comments

Comments
 (0)