Skip to content

fix(ci): verify promoted image SBOMs with Docker - #5891

Merged
SDAChess merged 1 commit into
mainfrom
ci/4554-stable-sbom-docker-engine/SDAChess
Nov 23, 2026
Merged

SDAChess merged 1 commit into
mainfrom
ci/4554-stable-sbom-docker-engine/SDAChess

Conversation

@SDAChess

Copy link
Copy Markdown
Contributor

Summary

The Quay promotion jobs run tasks/scripts/verify-image-sbom.sh, which needs Docker's buildx imagetools. GitHub's ubuntu-24.04 runners also ship podman, and tasks/scripts/container-engine.sh prefers podman when it is installed, so the SBOM check exits before it inspects anything. This sets CONTAINER_ENGINE: docker on both promotion jobs, as .github/actions/build-docker-image/action.yml already does.

This carries over the remaining part of #5889, which was closed as superseded by #5807 and #5808. #5889 set the variable only on the stable archive step. Since #5807, the dev and prerelease promotions call the same script on the same runners, so it's set at job level here.

Related Issue

Refs #4554

Changes

  • release-dev.yml, Promote Dev Images to Quay: CONTAINER_ENGINE: docker in the job env. Without it, Release Dev promotes gateway, then fails the SBOM check before sandbox and supervisor, and skips the chart job.
  • release-publish.yml, Publish Quay Images: the same, which covers the prerelease tag step and the stable archive step.

Testing

  • actionlint passes on both workflows.

  • I read container-engine.sh: with no override it returns podman whenever podman is on PATH, and verify-image-sbom.sh exits 2 on anything but Docker.

  • Not verified in CI yet: the next Release Dev after merge exercises the dev path.

  • Checks appropriate to the affected code and behavior pass

  • Unit tests added/updated (if applicable)

  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

The jobs that promote release images to Quay run
verify-image-sbom.sh, which needs Docker's buildx imagetools. GitHub's
ubuntu-24.04 runners also ship podman, and the container engine helper
prefers podman when it is installed, so the check exits before it
inspects anything. Set CONTAINER_ENGINE=docker on the Release Dev
promotion job and on the Publish Release image job, which covers the
dev, prerelease and stable paths.

Refs #4554

Co-authored-by: Drew Newberry <anewberry@nvidia.com>
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
@SDAChess
SDAChess requested a review from a team as a code owner November 23, 2026 10:08
@SDAChess
SDAChess requested a review from alangou November 23, 2026 10:08
@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 23, 2026
@github-actions

Copy link
Copy Markdown

@SDAChess
SDAChess merged commit 9b950c2 into main Nov 23, 2026
88 of 89 checks passed
@SDAChess
SDAChess deleted the ci/4554-stable-sbom-docker-engine/SDAChess branch November 23, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant