Apptainer Build #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Apptainer Build | |
on: | |
push: | |
tags: | |
- "*@*" | |
defaults: | |
run: | |
shell: bash | |
env: | |
APPTAINER_VERSION: 1.2.5 | |
ORAS_VERSION: 1.1.0 | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
name: Build Apptainer image | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- name: Clear up space | |
uses: uw-psych/apptainer-actions/make-disk-space@main | |
with: | |
rm-apt-packages: 'true' | |
rm-apt-cache: 'true' | |
- name: Install Apptainer | |
uses: uw-psych/apptainer-actions/setup@main | |
- name: Check out code for the container build | |
uses: actions/checkout@v4 | |
- name: Build and push Apptainer image | |
uses: uw-psych/apptainer-actions/build-and-push@main | |
with: | |
deffile: Singularity |