Skip to content

Commit

Permalink
test apptainer build + push (flying blind here)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis committed May 31, 2024
1 parent c84d701 commit 979614f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build_conda_recipes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
- bundle_update_2023
- conda_deps2
- apptainer
env:
atoken: ${{ secrets.ANACONDA_UPLOAD_TOKEN }}
recipe_path: conda/recipe
Expand Down Expand Up @@ -148,3 +148,13 @@ jobs:
platforms: linux/amd64
tags: |
sigven/pcgr:${{ env.VERSION }}
- name: Apptainer setup
uses: eWaterCycle/setup-apptainer@v2

- name: Apptainer build
run: |
docker image ls -a
docker save sigven/pcgr:${VERSION} -o pcgr_${VERSION}.tar
apptainer build pcgr_${VERSION}.sif docker-archive://pcgr_${VERSION}.tar
apptainer push pcgr_${VERSION}.sif oras://ghcr.io/${GITHUB_REPOSITORY}:${VERSION}

0 comments on commit 979614f

Please sign in to comment.