GitHub Action
The setup-zarf Github action is an officially supported action to install any version of Zarf and it’s init
package with zero added dependencies.
jobs: create_package: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v4 with: fetch-depth: 1
- name: Install Zarf uses: defenseunicorns/setup-zarf@main # use action's main branch with: version: v0.32.2 # any valid zarf version, leave blank to use latest
- name: Create the package run: zarf package create --confirm
More examples are located in the action’s README.md