Skip to content

ci(attestation): chain measure-sign-publish for the gateway image - #21

Open
pamanseau wants to merge 1 commit into
kubetee-prodfrom
attestation/measure-sign-publish
Open

pamanseau wants to merge 1 commit into
kubetee-prodfrom
attestation/measure-sign-publish

Conversation

@pamanseau

Copy link
Copy Markdown

Chains the shared measure->sign->publish stage (KubeTEE-AI/kubetee-website reusable workflow measure-sign-publish.yml, commit 0cc9f50) onto the gateway image build, so every new LiteLLM gateway image is measured, signed and published automatically. The SNP reference backing the client-facing GET https://llm.kubetee.ai/v1/attestation goes live on deploy so clients can validate.

What it does per deployed image

  1. Measure — polls for a deployed guest of the exact image_ref (tag@sha256) and captures its live evidence envelope (fail-closed if none is serving).
  2. Verify — checks the evidence against the record (SNP launch measurement is node/image-agnostic).
  3. Sign — RFC 8785 (JCS) + Ed25519 (key_id kubetee-measurements-2026-11-22).
  4. Publish — auto-commits the signed record to kubetee-website@main (GH Pages).

Changes (3, minimal)

  • build-and-push gains outputs.image_ref (the record step now has id: record and writes image_ref to $GITHUB_OUTPUT).
  • New measure-sign-publish job calling the reusable workflow. Skipped (not failed) until vars.SNP_GUEST_HOST + the attestation secrets are set, so builds stay green.

Required to activate (once)

  • vars.SNP_GUEST_HOST — evidence host of a deployed gateway guest
  • secrets.TEE_MEASUREMENTS_SIGNING_KEY — Ed25519 PEM
  • secrets.WEBSITE_REPO_TOKEN — PAT with contents:write on KubeTEE-AI/kubetee-website

Fail-closed on missing signing key (a draft is not evidence). GH-only build/publish; no cluster nodes.

Add the shared measure->sign->publish stage (KubeTEE-AI/kubetee-website) and the
build-and-push image_ref output, so every new LiteLLM gateway image is measured,
signed and published automatically -- the SNP reference backing GET
/v1/attestation goes live on deploy. Skipped (not failed) until SNP_GUEST_HOST +
attestation secrets are set.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant