Skip to content

Commit fe03756

Browse files
committed
Fix apptainer push CI
1 parent 116eada commit fe03756

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,9 @@ jobs:
7777
- name: Build an apptainer image
7878
run: apptainer build --build-arg PYBIOCLIP_VERSION=${{ steps.meta.outputs.version }} apptainer.sif apptainer.def
7979

80+
- name: create lowercase image name
81+
id: lowercase
82+
run: echo "LC_IMAGE_NAME=${IMAGE_NAME,,}" >> "$GITHUB_OUTPUT"
83+
8084
- name: Publish apptainer image
81-
run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-sif:${{ steps.meta.outputs.version }}
85+
run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ steps.lowercase.outputs.LC_IMAGE_NAME }}-sif:${{ steps.meta.outputs.version }}

0 commit comments

Comments
 (0)