From 61907962c9220437ec01a98fa26bfbf5cbb254b5 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Thu, 10 Sep 2026 17:11:19 -0700 Subject: [PATCH] fix(packaging): support larger container SBOM attestations Gazebo ROS image publication exceeds BuildKit 0.32's 40 MiB attestation limit. Pin the builder daemon to 0.33.0 for its 80 MiB limit while preserving the existing scanner and complete package/file coverage. Assisted-by: Copilot:gpt-6-astra --- .github/workflows/build_deb_package.yml | 2 ++ docs/en/dev_setup/sitl_container_builds.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build_deb_package.yml b/.github/workflows/build_deb_package.yml index f7dcbdbec96..8f451a6caf7 100644 --- a/.github/workflows/build_deb_package.yml +++ b/.github/workflows/build_deb_package.yml @@ -166,6 +166,8 @@ jobs: id: buildx with: driver: docker-container + # Gazebo/ROS SBOMs exceed the 40 MiB attestation limit in BuildKit 0.32. + driver-opts: image=moby/buildkit:v0.33.0 platforms: linux/${{ matrix.arch }} - name: Restore ROS compiler cache diff --git a/docs/en/dev_setup/sitl_container_builds.md b/docs/en/dev_setup/sitl_container_builds.md index bb126909c27..981cc23be9d 100644 --- a/docs/en/dev_setup/sitl_container_builds.md +++ b/docs/en/dev_setup/sitl_container_builds.md @@ -186,6 +186,8 @@ Installing the complete source-build toolset increases cold image-build time and ## Container SBOMs The publishing workflow enables BuildKit's standard SBOM attestations for both runtime and ROS images. +It pins BuildKit v0.33.0, whose 80 MiB attestation limit accommodates the Gazebo/ROS SPDX documents without reducing their package or file coverage. +Local attested builds using BuildKit v0.32 can fail at export because that version limits each attestation to 40 MiB. These SPDX inventories describe discoverable packages in the image filesystem, including Ubuntu and ROS dependencies. They complement, rather than replace, PX4's [source and firmware SBOM](../contribute/sbom.md).