Skip to content

comses/setup-apptainer

 
 

Repository files navigation

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:https://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.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.0%
  • Shell 14.6%
  • JavaScript 9.4%