ci(release-image): Unify binary extraction using BuildKit local output #992

Merged
tcpipuk merged 1 commit from tom/fork-image-extract into main 2025-09-07 19:55:53 +00:00

1 commit

Author SHA1 Message Date
4a1091dd06 ci(release-image): Unify binary extraction using BuildKit local output
Some checks failed
Release Docker Image / define-variables (pull_request) Successful in 7s
Documentation / Build and Deploy Documentation (pull_request) Successful in 30s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 37s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 4m37s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (pull_request) Successful in 7m4s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (pull_request) Successful in 7m11s
Release Docker Image / merge (pull_request) Successful in 29s
Release Docker Image / define-variables (push) Has been cancelled
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Has been cancelled
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Has been cancelled
Release Docker Image / merge (push) Has been cancelled
Checks / Prek / Pre-commit & Formatting (push) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (push) Has been cancelled
Documentation / Build and Deploy Documentation (push) Successful in 35s
Fork PRs currently fail binary extraction with 'invalid reference format'
and 'must specify at least one container source' errors. This replaces the
registry-specific docker create/copy method with BuildKit's local output
feature for all builds.

Uses multiple outputs in single build: image export plus local binary
extraction from /sbin. Speeds up extracting binary artifacts and saves a
couple of extra workflow steps in the process.
2025-09-07 20:46:11 +01:00