GitHub Action
Setup apptainer
v2.0.0
Latest version
This action enables you to easily use apptainer images in your GitHub action workflows.
To use apptainer containers in a workflow you need to install it first. This GitHub Action downloads and installs it for you.
The setup will add the apptainer executable to the PATH env var so it can be called in later steps.
Version of apptainer. See releases page for available versions.
Version string should start with major version, not with v
character.
steps:
- uses: actions/checkout@v2
- uses: eWaterCycle/setup-apptainer@v2
with:
apptainer-version: 1.3.0
- name: Run an apptainer container
run: apptainer run docker://alpine cat /etc/os-release
If you want to contribute to the development of apptainer-setup action, have a look at the contribution guidelines.