Skip to content

Commit

Permalink
Simplify appatainer push
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbradley committed Sep 13, 2024
1 parent fe03756 commit 1f5fcab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,5 @@ jobs:
- name: Build an apptainer image
run: apptainer build --build-arg PYBIOCLIP_VERSION=${{ steps.meta.outputs.version }} apptainer.sif apptainer.def

- name: create lowercase image name
id: lowercase
run: echo "LC_IMAGE_NAME=${IMAGE_NAME,,}" >> "$GITHUB_OUTPUT"

- name: Publish apptainer image
run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ steps.lowercase.outputs.LC_IMAGE_NAME }}-sif:${{ steps.meta.outputs.version }}
run: apptainer push apptainer.sif "oras://${{ env.REGISTRY }}/${IMAGE_NAME,,}-sif:${{ steps.meta.outputs.version }}"

0 comments on commit 1f5fcab

Please sign in to comment.