Skip to content

Commit

Permalink
feat: publish multi/arm/amd packages for UDS CLI happiness (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-mccoy authored Nov 2, 2023
1 parent 9536952 commit 861ce6d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 861ce6d

Please sign in to comment.