chore(main): release 0.4.1 (#36) #2
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: Publish Artifacts | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
- "dev" | |
jobs: | |
publish-artifacts: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Login to GHCR | |
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Image | |
run: VERSION=$GITHUB_REF_NAME make docker-build && VERSION=$GITHUB_REF_NAME make docker-push | |
- name: Install Zarf | |
uses: defenseunicorns/setup-zarf@f95763914e20e493bb5d45d63e30e17138f981d6 # v1.0.0 | |
- name: Build Zarf Package | |
run: make zarf-create | |
- name: Publish Zarf Package | |
run: make zarf-publish |