diff --git a/.github/workflows/singularity_image.yml b/.github/workflows/singularity_image.yml index 572ceec..42c6f67 100644 --- a/.github/workflows/singularity_image.yml +++ b/.github/workflows/singularity_image.yml @@ -11,17 +11,19 @@ on: jobs: build: runs-on: X86 - + defaults: + run: + shell: bash + working-directory: ./singularity steps: - name: Checkout Repository uses: actions/checkout@v2 - - name: Build Singularity Image - run: | - cd singularity - sudo singularity build ciroh-ngen-singularity.sif singularity_ngen.def + #- name: Build Singularity Image + # run: | + # sudo singularity build ciroh-ngen-singularity.sif singularity_ngen.def - name: Push Singularity Image to Library run: | - cd singularity + echo ${{ secrets.SINGULARITY_TOKEN }} | singularity remote login -u ${{ secrets.SINGULARITY_USERNAME }} --password-stdin sudo singularity push -U ciroh-ngen-singularity.sif library://awiciroh/ngiab/ciroh-ngen-singularity:latest