From 861ce6d4c76edc283b8737929f7a071aecce1fb3 Mon Sep 17 00:00:00 2001 From: Megamind <882485+jeff-mccoy@users.noreply.github.com> Date: Thu, 2 Nov 2023 00:15:39 -0500 Subject: [PATCH] feat: publish multi/arm/amd packages for UDS CLI happiness (#6) --- .github/workflows/build-test.yml | 2 +- .github/workflows/tag-and-release.yml | 13 ++++++++++--- README.md | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 5ca3c37..64072e4 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -22,7 +22,7 @@ jobs: uses: defenseunicorns/setup-zarf@main with: # renovate: datasource=github-tags depName=defenseunicorns/zarf versioning=semver - version: v0.31.0-rc1 + version: v0.31.0 - run: "curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash" shell: bash diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index ece0ca0..ad819e2 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -36,10 +36,14 @@ jobs: uses: defenseunicorns/setup-zarf@main with: # renovate: datasource=github-tags depName=defenseunicorns/zarf versioning=semver - version: v0.31.0-rc1 + version: v0.31.0 + # This is really fake to help UDS CLI not be sad - name: Create Zarf Package - run: zarf package create --confirm + run: | + zarf package create --confirm + zarf package create --confirm -a arm64 + zarf package create --confirm -a amd64 - name: Login to GHCR uses: docker/login-action@v3 @@ -49,4 +53,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Publish the capability - run: zarf package publish zarf-package-*.tar.zst oci://ghcr.io/defenseunicorns/packages + run: | + for file in zarf-package-uds-k3d-*.tar.zst; do + zarf package publish $file oci://ghcr.io/defenseunicorns/packages + done diff --git a/README.md b/README.md index b8e95d6..b76a656 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This zarf package serves as a universal dev (local & remote) and test environmen ## Prerequisites -- [Zarf](https://docs.zarf.dev/docs/getting-started#installing-zarf) v0.31.0-rc1 or later +- [Zarf](https://docs.zarf.dev/docs/getting-started#installing-zarf) v0.31.0 or later - [K3d](https://k3d.io/#installation) v5 or later - [Docker](https://docs.docker.com/get-docker/) or [Podman](https://podman.io/getting-started/installation) for running K3d