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.
Files and platforms
Section titled “Files and platforms”| Platform | CLI archive | Container image |
|---|---|---|
| Linux amd64 / x86_64 | zeabur-identityctl-v<VERSION>-linux-amd64.tar.gz | ghcr.io/zeabur-oss/identity:<VERSION> |
| Linux arm64 / aarch64 | zeabur-identityctl-v<VERSION>-linux-arm64.tar.gz | Use 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.
Image digests
Section titled “Image digests”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.
Memory request
Section titled “Memory request”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}Download and verify
Section titled “Download and verify”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.1arch=arm64 # use amd64 for x86_64identity='^https://github\.com/zeabur-oss/identity/\.github/workflows/release\.yml@'gh release download "$version" --repo zeabur-oss/identity --dir downloadedVerify the signature and checksums
Section titled “Verify the signature and checksums”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)Extract and run the CLI
Section titled “Extract and run the CLI”After both checks pass, extract the archive and try the CLI:
tar -xzf "downloaded/zeabur-identityctl-$version-linux-$arch.tar.gz"./zeabur-identityctl --helpVerify and pull the container image
Section titled “Verify and pull the container image”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"Verify build provenance (optional)
Section titled “Verify build provenance (optional)”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.ymlgh attestation verify "oci://$image" \ --repo zeabur-oss/identity --source-ref "refs/tags/$version" \ --signer-workflow zeabur-oss/identity/.github/workflows/release.yml