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 9a3b789 commit dc27769
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_deploy_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,15 @@ jobs:
run: |
apptainer pull ${GITHUB_WORKSPACE}/image.sif docker://${DOCKER_IMAGE_NAME}:latest
- name: Sign the Singularity Image
run: |
apptainer sign ${GITHUB_WORKSPACE}/image.sif
- name: Create Token File
run: echo "${{ secrets.SINGULARITY_LIBRARY_TOKEN }}" > ${GITHUB_WORKSPACE}/tokenfile

- name: Login to Singularity Library
run: echo "${{ secrets.SINGULARITY_LIBRARY_TOKEN }}" | apptainer remote login --tokenfile -
run: apptainer remote login --tokenfile ${GITHUB_WORKSPACE}/tokenfile

- name: Push Singularity Image to Singularity Library
run: |
Expand Down

0 comments on commit dc27769

Please sign in to comment.