← Back to Pull requests

Publish signed images from registry.ddbuild.io #3785

Closed
unknown closed this pull request without merging on Nov 13, 2026 16:26 UTC
View on GitHub
unknown unknown commented on Nov 13, 2026 10:48 UTC
Author

What this PR does

Operator images are now signed, and published from Datadog's canonical registry.

  • Each image the build pushes to ECR (amd64, arm64, and their FIPS variants) is also copied to registry.ddbuild.io/ci/datadog-operator, with the same tags.

  • The copy is signed with ddsign. The signature is a build attestation in the attestation store (AMS): it records the CI job, the GitLab project, the branch or tag, and the commit.

  • The public publish jobs (main, tags, latest, rc-latest, FIPS, Red Hat) now take their sources from registry.ddbuild.io.

  • The ECR copies stay: the internal image templates build from them. The internal e2e publication is unchanged.
  • Why

    artifact-gateway publishes Datadog's public container images. It now audits each source image with Turnstile, Datadog's artifact policy system, and checks how the image was built: in CI, in an allowed project, and for releases from the matching git tag (https://datadoghq.atlassian.net/browse/BARX-2131). The audit only accepts sources in registry.ddbuild.io, and reads the attestation that ddsign writes. Today operator sources are in ECR and unsigned, so every audit of them fails. The audit is observe only for now: it never blocks a publication.

    Same signing pattern as datadog-agent's https://github.com/DataDog/datadog-agent/pull/58776.

    Behavior

  • A failed copy, digest lookup or signature fails the build job, so an unsigned image cannot reach the publish jobs.

  • The build image ships ddsign. It has no crane, so the digest is the SHA-256 of the manifest that docker buildx imagetools inspect --raw returns.
  • Checks

    | Check | Status |
    |---|---|
    | The branch pipeline copies and signs the images | passed: GitLab pipeline 152950114 |
    | The copies exist in registry.ddbuild.io/ci/datadog-operator and carry the attestation | passed: v152950114-f1a2a823-{amd64,arm64,fips-amd64,fips-arm64} are signed, project DataDog/datadog-operator, identity gitlab-runner.datadog-operator@kubernetes.us1.ddbuild.io |

    The build image's docker buildx (v0.11) has no reliable template for the digest, so the job computes it from the raw manifest bytes.

    This repo's CI identity is already allowed to sign and to push to registry.ddbuild.io/ci/datadog-operator, so no access change is needed.

    🤖 Generated with Claude Code

    Diff: 297 lines (+222 / -75) across 3 files Reviewer: tbavelier Review duration: 337m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 297 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.341
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3785"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40% (MEDIUM) · Higher = larger blast radius
    40%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.8% · Safe to merge
    15.8%