Skip to content
DevOps

Inside Score’s Container Security and Release Pipeline Changes

Score tightened container scanning, base images, build provenance, and registry authentication; I explain which changes I’d adopt and what I’d verify first.

Topic
DevOps
Reading time
11 min
Length
2,387 words
Published
Nov 10, 2026
05:53 pm IST
In this article
  1. The registry move was only part of the change
  2. Pull-request scanning makes the image change reviewable
  3. Hardened images produced different results for different workloads
  4. The builder moves implementation ownership outside the repository
  5. Replacing Docker Hub tokens without losing the trust boundary
  6. Adopting Score’s pattern in an existing container pipeline
  7. What these changes leave for application owners

The Docker-Sponsored Open Source Program helped Score strengthen its container images and release pipeline with Docker Scout, Docker Hardened Images, and Docker Hub. Score adopted Docker GitHub Builder and short-lived OIDC authentication too. There were measurable gains: packages and CVEs disappeared from its sample application image. I think this is a useful rollout pattern, but I wouldn’t copy every workflow unchanged. Scanning, base-image selection, builder trust, and registry credentials are separate decisions. I’d want to make each one on its own terms.

The starting point is what caught my attention in Score’s container and release changes. This CNCF Sandbox project already followed OpenSSF best practices, continuously ran the OpenSSF Scorecard GitHub Action, and used multi-stage builds and distroless base images. This wasn’t a case of replacing an obviously neglected setup. The work strengthened a foundation that was already there, which makes the individual changes more interesting to inspect.

The registry move was only part of the change

Score previously published its container images to GitHub Container Registry. That includes the score-compose, score-k8s, score-helm, and score-radius CLIs, along with sample-score-app for demonstrations and testing. Those images are now available on Docker Hub. But the release workflow shown for score-compose still targets both registries. I wouldn’t read the move as an instruction to abandon GitHub Container Registry, or assume that publishing somewhere new means the old destination has gone away.

The program supports eligible non-commercial open source projects. It offers a verified badge, removes rate limits for developers, and includes Docker Scout access, usage analytics, and better discoverability on Docker Hub. Through the CNCF partnership, participating projects get expanded access to Docker’s registry, security scanning, and best-practice resources at no cost. Those are distribution and tooling benefits worth looking at separately.

I’d keep those distribution benefits apart from the security evidence. A verified publishing location is useful. It still wouldn’t answer my release-review questions about what changed inside the image or how that image was built. For me, Score’s more interesting changes are the ones that answer those questions, rather than stopping at a new registry destination and calling the work done.

Pull-request scanning makes the image change reviewable

Score didn’t previously have a dedicated security scanning tool. It now uses Docker Scout both in pull requests and on Docker Hub. In a pull request, the comparison shows image size, package changes, introduced and resolved CVEs, and compliance with the configured policies. Score’s policies include non-root execution, no critical CVEs, and no packages with AGPL v3 licences. That is the set of checks I’d keep in mind while reading the comparison, not just the CVE count.

The analysis reaches into the Go libraries and binaries inside the images as well. In Docker Scout’s console, maintainers can see CVEs, packages, base images, and policies across Score’s container images. There are two views here that I’d want to keep: the comparison available while reviewing a change, and the broader view of what is present in which image.

I like comparing against the main branch. It gives a reviewer an actual change to discuss, rather than an image considered in isolation. For a newsroom CMS, I’d want to review the image update alongside the application change instead of putting off the container discussion until publication. That is the first place I would apply this pattern in my own work: in the review that is already happening.

Here is the comparison step used for score-compose, with the pull-request image and main-branch image named explicitly:

- name: Docker Scout Comparison between main branch and current PR branch
  uses: docker/scout-action@v1
  with:
    command: compare
    image: local://score-compose:pr-${{ github.event.number }}
    to: local://score-compose:main
    write-comment: true
    github-token: ${{ secrets.GITHUB_TOKEN }}
    organization: ${{ secrets.DOCKER_HUB_ORG }}

That step isn’t a complete workflow, and I wouldn’t treat it as one. It compares the named local images. My surrounding jobs would still need to build the intended main and pull-request images. Before letting the findings influence a release decision, I’d deliberately make a change with a known package difference. Then I’d check the comment against that difference and confirm that these were, in fact, the images I meant to compare.

Next I’d settle who owns the policy. Convenient YAML wouldn’t be a reason for me to copy Score’s licence policy into another project. I’d ask the maintainers which findings require a fix, which require explicit review, and who has permission to approve an exception. The report needs somewhere to go. Without a clear response path, I wouldn’t consider the policy decision finished.

Hardened images produced different results for different workloads

Docker Hardened Images are minimal, security-focused base images, freely available under Apache 2.0. Their stated properties include non-root execution by default, published SBOMs, SLSA Level 3 build provenance, and active patching and rebuilding as vulnerabilities are disclosed. They are reproducible and open source too. I’d look at those properties alongside the measured changes to an individual image, rather than treating the measurements as the whole assessment.

For the score-radius CLI, Score moved from golang:alpine and a distroless image to dhi.io/golang and dhi.io/static. The image became 0.3 MB smaller. Its package count didn’t change, and its CVE count stayed at zero. Docker Hardened Images offered both Debian and Alpine options; Score chose Alpine for this change. The result here was a small size reduction, not a reduction in an existing CVE count.

The NodeJS sample-score-app tells a different story. Moving it to dhi.io/node removed 22 packages, including the package manager and shell, as well as 2 CVEs. I’d keep that result attached to the sample application, just as I’d keep the CLI result attached to score-radius. Neither gives me a forecast for a production Node.js service. The workloads and their measured outcomes need to stay together.

For my own Node.js workloads, I’d put the missing shell and package manager on the review checklist explicitly. I wouldn’t decide that removing them was harmless before inspecting the application’s build and runtime assumptions. There is an operational question here too: how do I intend to investigate a failed container? I’d rather settle that approach while reviewing the image change than wait for a production problem to make the question urgent.

I find the CLI result just as useful, even without a dramatic CVE reduction. A migration can change the maintenance foundation while leaving that count alone. I’d assess the base image’s provenance and maintenance model as their own questions, separate from the immediate difference in package count. A zero that stays at zero doesn’t remove those questions from my review.

The builder moves implementation ownership outside the repository

Docker GitHub Builder isn’t directly part of the sponsored program. Score adopted it alongside the other work. Before that change, its release job assembled the Docker Buildx setup, registry logins, image building and pushing, and cosign signing. The replacement calls Docker’s reusable build workflow instead. That is a change in who maintains the implementation, not just a different way to arrange the same repository-local steps.

The builder supplies a Docker-maintained pipeline and a version-controlled BuildKit environment. It provides multi-platform builds distributed across runners where beneficial, plus signed SLSA provenance that records the source commit and builder identity. SBOM attestations are included too. For signing, it uses GitHub OIDC, so there are no long-lived signing keys to manage. I’d review each of those outputs as part of deciding whether the workflow fits.

The ownership boundary is fairly clear. Maintainers choose when the build runs and control its inputs; Docker maintains the build implementation. Score’s workflow also has caching enabled. With that enabled, cache entries are signed and verified before reuse to help protect against cache poisoning. I’d include that behavior in the review of the build process, rather than considering caching only as a workflow setting.

I’d choose the reusable workflow if a project’s release requirements fit it and its maintainers accept that ownership boundary. Where I kept custom build logic, I’d want to be able to explain why it was necessary. Fewer repository-local steps appeal to me. They don’t make the external workflow disappear as a dependency, though, and I would still review it as one rather than treating it as infrastructure I no longer need to examine.

On the consumption side, my acceptance criteria would include checking the expected builder identity and tracing the image back to the intended commit. I make the same distinction when reviewing security fixes that still need proof. Evidence about a process is valuable, and I want it available. I still wouldn’t use that evidence in place of reviewing the resulting application behavior. Those are different things to establish.

Replacing Docker Hub tokens without losing the trust boundary

Docker introduced OIDC connections on July 21, 2026. They let Docker Hub pulls and pushes use short-lived tokens in place of long-lived Organization Access Tokens. An OIDC connection establishes trust between Docker and a trusted third party; token exchange then provides access to Docker resources. That is the registry authentication mechanism being changed here, rather than a change to the contents of the image.

Score replaced its static Docker Hub credential with this per-workflow authentication model. The updated examples grant permission to request an identity token and identify the configured Docker Hub connection. I’d keep that separate from the signing discussion above. The builder’s use of GitHub OIDC for signing and this change to registry authentication are distinct, even though both involve OIDC.

I would review them as separate trust relationships, with separate questions. For registry access: which workflow is supposed to publish, and which Docker resources does it need? For signing: which builder identity should consumers accept? Calling the whole thing “OIDC enabled” would make my review less useful. I’d want the answers written against the particular relationship, not hidden behind the shared authentication label.

Once I had validated the replacement, I’d remove the long-lived publishing credential. I wouldn’t leave it sitting there as a permanent fallback. That cleanup would be an explicit release task, separate from the containment and recovery questions in a supply-chain incident response. A planned credential change isn’t evidence that an earlier exposure has been resolved, and I wouldn’t let the two kinds of work stand in for each other.

Adopting Score’s pattern in an existing container pipeline

I’d roll this out as independently reviewable changes, not one broad replacement of the pipeline. I want to be able to tell which change affected the image, which affected authentication, and which affected the build process. A successful publish would be part of what I checked, but I wouldn’t make it the only acceptance criterion. Here is the order I would work through.

  • Record the current release contract. I’d capture the images, registries, platforms, tags, build inputs, and credentials the project intends to use. I would check the destinations explicitly. Score’s continued publication to both registries is a useful reminder that a registry migration doesn’t necessarily mean replacement, and I wouldn’t want that assumption buried in my own release changes.
  • Add the comparison before changing the base. First I’d establish the pull-request image comparison and check that it compares the intended builds. I’d also agree on how the findings will be handled. With those decisions made, the later base-image change would have a before-and-after result to review, rather than leaving me to work out the comparison and the policy at the same time.
  • Move one representative image. I’d choose a workload whose build and runtime behavior I understand. Then I’d check startup, application behavior, and the operational assumptions behind running it. For a Node.js image, that would explicitly include reviewing any dependence on components the new base removes. I wouldn’t assume those dependencies were absent merely because the image built.
  • Review the reusable builder independently. I’d compare its inputs and outputs with the existing release contract. Before adopting it, I would check the expected provenance, SBOM attestations, and builder identity. A shorter workflow file appeals to me, but it wouldn’t be my test for accepting the replacement or deciding that its outputs meet the project’s requirements.
  • Validate authentication and retire the old token. I’d test the intended publishing path with the configured OIDC connection, then review the access boundary. Once I accepted the replacement, I’d remove the superseded long-lived credential. I would keep that removal in the task itself rather than leave it as an unspecified bit of cleanup after authentication starts working.

For every change, I’d record both the evidence that made me accept it and the condition that would make me reverse it. I prefer having those written down. That is how I’d try to avoid turning a broad “security upgrade” into something difficult to debug when a release behaves differently and I need to understand which decision to revisit.

What these changes leave for application owners

A zero-CVE result wouldn’t convince me that an application is secure. My review would still cover application behavior and access decisions. I’d be equally careful about what I asked signed provenance to prove: I would use it to examine origin and builder identity, not to replace testing whether the software does what it should. I want that evidence, but I also want to keep its limits visible.

I’d check eligibility before planning around the program’s benefits. It supports non-commercial open source projects; I wouldn’t assume the same sponsorship applies to a commercial newsroom service or one of my own products. The engineering pattern is still worth evaluating in those settings. Access and entitlement, though, need a separate check rather than an assumption based on Score’s participation.

If a project already has an accepted scanning process, maintained minimal images, verified provenance, and short-lived registry authentication, I wouldn’t recommend replacing everything just to match Score. I’d first compare the actual maintenance responsibilities and the gaps that remain unresolved. Matching the component list wouldn’t, on its own, be my reason to take on that replacement work.

For my own next change, I’d start with the review-time image comparison and the publishing credential boundary. Hardened bases and the reusable builder would get separate evaluations. Score’s results are persuasive enough to make me examine the whole release path, but I wouldn’t turn that into a requirement to adopt every Docker component. I’d write down the first image comparison I intend to inspect, the credential boundary I intend to validate, and who owns each decision. Then I’d check whether the evidence actually supports the security claim before accepting that change.

Sources

CNCF Score project improved its security posture by joining the Docker-Sponsored Open Source Program

This is the source this article is based on. Many articles on this blog are drafted with AI and checked against their source automatically; the editorial policy explains how, and how to report a mistake.

Frequently asked

Can any open source project get Docker sponsorship?

The Docker-Sponsored Open Source Program supports eligible non-commercial open source projects. CNCF participation is not the only route, but I would check eligibility rather than assume every repository qualifies.

Are Docker Hardened Images free?

Docker Hardened Images are freely available under Apache 2.0. I would distinguish that availability from eligibility for the separate sponsored program and its benefits.

Do I need to leave GitHub Container Registry?

Score’s updated score-compose release workflow publishes to both GitHub Container Registry and Docker Hub. I would preserve the registry destinations consumers need rather than treat Docker Hub adoption as a mandatory replacement.

Is Docker GitHub Builder included in DSOS?

Docker GitHub Builder is not directly part of DSOS. Score adopted it alongside the program changes; I would evaluate its Docker-maintained build implementation as a separate ownership decision.

Deepak Kumar

Written by

Deepak Kumar

Sr Software Engineer at India Today Group | Aaj Tak · MERN Stack · Generative AI

I containerise and deploy my own products, so build times and image size are costs I actually pay. I write here about what those systems actually do once real traffic hits them. Hiring a software developer in India? Here is how I work.

Weekly newsletter

Liked this? Get the next one by email

One short email a week with new articles on React, Node.js, TypeScript and AI engineering. No spam. Unsubscribe in one click.

By subscribing you agree to the privacy policy · About the newsletter.

Further reading

Related tutorials from ByteMuni, my developer publication.

Message me