From 8227e5f9f28cfe6956cf20c9789f709fae863f33 Mon Sep 17 00:00:00 2001 From: John Bradley Date: Fri, 13 Sep 2024 11:55:47 -0400 Subject: [PATCH] Try lowercase repo name --- .github/workflows/deploy-image.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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