Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.26 KB

typescript-action status DOI

This action enables you to easily use apptainer images in your GitHub action workflows.

GitHub Action to setup apptainer

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.

Inputs

apptainer-version

Version of apptainer. See releases page for available versions. Version string should start with major version, not with v character.

Example usage

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

Contributing

If you want to contribute to the development of apptainer-setup action, have a look at the contribution guidelines.