Skip to content

[SECURITY] Publish signed multi-arch container images to GHCR with SBOM and provenance #227

Backlog

Description

@OkiriGabriel

Problem

There's no published container image. CI builds and scans docker/Dockerfile (Docker Build Test, Trivy), but users have to build it themselves, and there's no way to verify that an image came from this repo. The k8s manifests and docs reference an image without saying where it comes from.

Proposed solution

On v* tags (alongside the PyPI release in #210):

  • Build multi-arch images (linux/amd64, linux/arm64) for the agent and the middleware with docker/build-push-action, from the hashed lock ([SECURITY] Supply chain: build images from a hashed lock file instead of open >= ranges #121).
  • Push to GHCR: ghcr.io/open-devops-agent/open-devops-agent:<version> and :latest (only for releases), plus …/middleware.
  • Sign with cosign keyless (GitHub OIDC), attach an SBOM (Syft/Trivy, SPDX) and build provenance (actions/attest-build-provenance).
  • Run a Trivy gate on the pushed digest: fail on HIGH/CRITICAL fixable vulnerabilities (the .trivyignore.yaml exceptions still apply).
  • Pin the k8s manifests, compose file and docs to the released digest, and document cosign verify ghcr.io/... --certificate-identity-regexp ... --certificate-oidc-issuer https://token.actions.githubusercontent.com.

Files

New .github/workflows/release-image.yml, k8s/deployment.yaml, docker-compose.yml, docs/DEPLOYMENT.md

Activity

  1. added
    enhancement
    security
    ci
    docker
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cidockerenhancementsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions