Skip to content

Update dependency big-bang/bigbang to v2.43.0 (#60) #105

Update dependency big-bang/bigbang to v2.43.0 (#60)

Update dependency big-bang/bigbang to v2.43.0 (#60) #105

Workflow file for this run

name: build-and-publish
concurrency:
cancel-in-progress: true
group: build-and-publish
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build-and-publish-package:
runs-on: ubuntu-latest
steps:
- name: Free GH runner build space
run: |
df -h
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/hostedtoolcache/CodeQL
df -h
- uses: actions/checkout@v3
# - name: Init zarf cache
# uses: actions/cache@v3
# with:
# path: "~/.zarf-cache"
# key: zarf-cache
- name: Install zarf
uses: supplypike/setup-bin@v3
with:
# renovate: zarf-uri datasource=github-tags depName=defenseunicorns/zarf versioning=semver-coerced
uri: 'https://github.com/defenseunicorns/zarf/releases/download/v0.30.0/zarf_v0.30.0_Linux_amd64'
name: 'zarf'
# renovate: zarf datasource=github-tags depName=defenseunicorns/zarf versioning=semver-coerced
version: 'v0.30.0'
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to registry1
uses: docker/login-action@v2
with:
registry: registry1.dso.mil
username: ${{ secrets.REGISTRY1_USERNAME }}
password: ${{ secrets.REGISTRY1_PASSWORD }}
- name: Build dubbd-kind package
run: |
mkdir -p build
zarf package create --confirm --no-progress --output-directory build
- name: Publish dubbd-kind package
run: |
zarf package publish build/zarf-package-dubbd-kind-amd64-*.tar.zst oci://ghcr.io/corang --no-progress