Skip to content

Commit

Permalink
Update build_deploy_container.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
opain authored Jun 14, 2024
1 parent 5e1fd11 commit e92e428
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build_deploy_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
SIGNING_PUBLIC_KEY_BASE64: ${{ secrets.SIGNING_PUBLIC_KEY_BASE64 }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
DOCKER_IMAGE_NAME: opaino/genopred_pipeline
SINGULARITY_IMAGE_NAME: library://opain/genopred
SINGULARITY_IMAGE_NAME: library://opain/genopred/genopred_pipeline
IMAGE_TAG: ${{ github.ref_name }}
DOCKERFILE_PATH: pipeline/misc/docker/Dockerfile

Expand Down Expand Up @@ -83,7 +83,6 @@ jobs:
'
- name: Sign the Singularity Image
run: |
apptainer sign ${GITHUB_WORKSPACE}/image.sif
expect -c '
spawn apptainer sign ${GITHUB_WORKSPACE}/image.sif
expect "Enter your key passphrase : "
Expand All @@ -94,7 +93,10 @@ jobs:
run: echo "${{ secrets.SINGULARITY_LIBRARY_TOKEN }}" > ${GITHUB_WORKSPACE}/tokenfile

- name: Login to Singularity Library
run: apptainer remote login --tokenfile ${GITHUB_WORKSPACE}/tokenfile
run: |
apptainer remote add --no-login SylabsCloud cloud.sycloud.io
apptainer remote use SylabsCloud
apptainer remote login --tokenfile ${GITHUB_WORKSPACE}/tokenfile
- name: Push Singularity Image to Singularity Library
run: |
Expand Down

0 comments on commit e92e428

Please sign in to comment.