diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml index cec68c1..5c3b2d0 100644 --- a/.github/workflows/deploy-image.yml +++ b/.github/workflows/deploy-image.yml @@ -26,19 +26,17 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: create lowercase image + - name: create lowercase image name id: lowercase run: echo "LC_IMAGE_NAME=${IMAGE_NAME,,}" >> "$GITHUB_OUTPUT" - - name: echo - run: echo ${{ steps.lowercase.outputs.LC_IMAGE_NAME }} -# - name: Setup apptainer executable -# uses: eWaterCycle/setup-apptainer@v2 -# with: -# apptainer-version: 1.3.3 -# -# - name: Build an apptainer image -# run: apptainer build --build-arg PYBIOCLIP_VERSION=1.0.0 apptainer.sif apptainer.def# -# -# - name: Publish apptainer image -# run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ steps.lowercase.outputs.LC_IMAGE_NAME }}-sif:1.0.0 + - name: Setup apptainer executable + uses: eWaterCycle/setup-apptainer@v2 + with: + apptainer-version: 1.3.3 + + - name: Build an apptainer image + run: apptainer build --build-arg PYBIOCLIP_VERSION=1.0.0 apptainer.sif apptainer.def# + + - name: Publish apptainer image + run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ steps.lowercase.outputs.LC_IMAGE_NAME }}-sif:1.0.0