diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml index 3dc7ef8..38ccb4a 100644 --- a/.github/workflows/deploy-image.yml +++ b/.github/workflows/deploy-image.yml @@ -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