Skip to content
Open Source

Release files and verification

Choose the Zeabur Identity release files for your platform, download them, and verify signatures and checksums before running them.

Download Zeabur Identity from GitHub Releases, and verify signatures and checksums before running it. A version with a pre-release part, such as v0.1.2-beta.1, is marked as a pre-release.

PlatformCLI archiveContainer image
Linux amd64 / x86_64zeabur-identityctl-v<VERSION>-linux-amd64.tar.gzghcr.io/zeabur-oss/identity:<VERSION>
Linux arm64 / aarch64zeabur-identityctl-v<VERSION>-linux-arm64.tar.gzUse the same image tag; Docker selects your architecture

For macOS, Windows, or other architectures, build the CLI from source.

Each release includes checksums, signatures, and SBOMs. An SBOM lists the dependencies included in a release file. Downloadable SBOM filenames end in .cdx.json.

The release file digests.txt lists the container image by digest: one line for each platform image and one for the multi-platform index. Pin a deployment to the index digest.

linux/amd64 ghcr.io/zeabur-oss/identity@sha256:...
linux/arm64 ghcr.io/zeabur-oss/identity@sha256:...
index ghcr.io/zeabur-oss/identity@sha256:...

SHA256SUMS covers digests.txt, resources.json and every other release file, and SHA256SUMS.sigstore.json is its signature. The steps below verify both before reading a digest.

The release file resources.json gives the total memory request of the pods that zeabur-identityctl manifests installs with its defaults, in MiB. An installer can read it to check a server has room before it downloads anything else.

{"requestMemoryMiB": 24}

Releases are signed in GitHub Actions by this repository's release workflow. The signing certificate names zeabur-oss/identity/.github/workflows/release.yml as its identity, and zeabur-oss/identity with the release tag as the repository and ref it ran for. The commands below check all three.

Releases up to v0.3.0 were signed by release.yml of zeabur-oss/.github; for those, use identity='^https://github\.com/zeabur-oss/\.github/\.github/workflows/release\.yml@' and --signer-workflow zeabur-oss/.github/.github/workflows/release.yml.

You need the GitHub CLI (gh), cosign 3.x, and GNU sha256sum. You also need Docker to pull images. Except for Docker, these command-line tools are available in the repository's nix develop shell.

Choose a version and architecture, and download the files

Section titled “Choose a version and architecture, and download the files”

Set the release version and architecture, then download the files for that version:

version=v0.1.1
arch=arm64 # use amd64 for x86_64
identity='^https://github\.com/zeabur-oss/identity/\.github/workflows/release\.yml@'
gh release download "$version" --repo zeabur-oss/identity --dir downloaded

Verify the signature on SHA256SUMS first, then use it to check the downloaded files.

(
set -e
cd downloaded
cosign verify-blob --bundle SHA256SUMS.sigstore.json \
--certificate-identity-regexp "$identity" \
--certificate-github-workflow-repository zeabur-oss/identity \
--certificate-github-workflow-ref "refs/tags/$version" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com SHA256SUMS
sha256sum --check --strict SHA256SUMS
)

After both checks pass, extract the archive and try the CLI:

tar -xzf "downloaded/zeabur-identityctl-$version-linux-$arch.tar.gz"
./zeabur-identityctl --help

Read the image digest from the verified digests.txt file.

image=$(awk '$1 == "index" {print $2}' downloaded/digests.txt)
cosign verify --certificate-identity-regexp "$identity" \
--certificate-github-workflow-repository zeabur-oss/identity \
--certificate-github-workflow-ref "refs/tags/$version" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com "$image"
cosign verify-attestation --type cyclonedx --certificate-identity-regexp "$identity" \
--certificate-github-workflow-repository zeabur-oss/identity \
--certificate-github-workflow-ref "refs/tags/$version" \
--certificate-oidc-issuer https://token.actions.githubusercontent.com "$image"
docker pull --platform "linux/$arch" "$image"

GitHub also records build provenance for every release file and image. With an authenticated gh:

gh attestation verify "downloaded/zeabur-identityctl-$version-linux-$arch.tar.gz" \
--repo zeabur-oss/identity --source-ref "refs/tags/$version" \
--signer-workflow zeabur-oss/identity/.github/workflows/release.yml
gh attestation verify "oci://$image" \
--repo zeabur-oss/identity --source-ref "refs/tags/$version" \
--signer-workflow zeabur-oss/identity/.github/workflows/release.yml