Skip to content

Commit 1f5fcab

Browse files
committed
Simplify appatainer push
1 parent fe03756 commit 1f5fcab

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/deploy-image.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,5 @@ 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-
8480
- name: Publish apptainer image
85-
run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ steps.lowercase.outputs.LC_IMAGE_NAME }}-sif:${{ steps.meta.outputs.version }}
81+
run: apptainer push apptainer.sif "oras://${{ env.REGISTRY }}/${IMAGE_NAME,,}-sif:${{ steps.meta.outputs.version }}"

0 commit comments

Comments
 (0)