This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
chore(main): release 0.1.1 (#21) #3
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: build-and-publish-dev-deps | |
concurrency: | |
cancel-in-progress: true | |
group: build-and-publish-dev-deps | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-and-publish-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PAT }} | |
repository: ${{ github.repository }} | |
ref: ${{ github.ref_name }} | |
- name: Init zarf cache | |
uses: actions/cache@v3 | |
with: | |
path: "~/.zarf-cache" | |
key: zarf-cache | |
- name: Free GH runner build space | |
run: | | |
df -h | |
sudo rm -rf /usr/share/dotnet | |
sudo rm -rf /usr/local/lib/android | |
sudo rm -rf /opt/ghc | |
sudo rm -rf /opt/hostedtoolcache/CodeQL | |
sudo docker image prune --all --force | |
df -h | |
- name: Install zarf | |
uses: supplypike/setup-bin@v3 | |
with: | |
# renovate: zarf-uri datasource=github-tags depName=defenseunicorns/zarf | |
uri: 'https://github.com/defenseunicorns/zarf/releases/download/v0.31.2/zarf_v0.31.2_Linux_amd64' | |
name: 'zarf' | |
# renovate: datasource=github-tags depName=defenseunicorns/zarf versioning=semver | |
version: 'v0.31.2' | |
- name: Login to GHCR | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
#### | |
# Build and publish dependency packages to use in a dev UDS Bundle | |
#### | |
- name: Build and publish dev-dependency nexus-postgres package | |
run: cd utils/pkg-deps/nexus/postgres && zarf package create --confirm --no-progress --output oci://ghcr.io/defenseunicorns/uds-capability/nexus/dev-dependency |