Skip to content

Commit

Permalink
Try lowercase repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbradley committed Sep 13, 2024
1 parent d6958b4 commit 8227e5f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@ jobs:
- name: Build an apptainer image
run: apptainer build --build-arg PYBIOCLIP_VERSION=1.0.0 apptainer.sif apptainer.def

- name: Create lowercase image name
id: lc_image_name
run: |
echo "IMAGE_NAME=$( ${{ env.IMAGE_NAME}} | awk '{print tolower($0)}')"
- name: Publish apptainer image
run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-sif:1.0.0
run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ steps.lc_image_name.outputs.IMAGE_NAME }}-sif:1.0.0

0 comments on commit 8227e5f

Please sign in to comment.