GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(build/bake): compression inputs for image output by onedr0p · Pull Request #333 · docker/github-builder

Conversation

@onedr0p

@onedr0p onedr0p commented Nov 3, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

fixes #207

Add compression, compression-level, and force-compression inputs to the build and bake workflows. Each input sets the attribute of the same name on the BuildKit image exporter. The prepare job makes sure that compression is uncompressed, gzip, estargz, or zstd, and that compression-level contains only digits. Because of this, the inputs cannot add other attributes to the exporter. The inputs apply only to output: image. For output: local, the workflow ignores valid values and logs a warning.

The new test jobs build test/compression.Dockerfile, which keeps the gzip base layer of alpine. If force-compression does not convert that layer, the test fails. These jobs push only on events other than pull_request, so I ran the same builds from my fork: https://github.com/onedr0p/github-builder/actions/runs/41712959010. I turned off signing there, because the signing step expects the identity of this repository. With force-compression, all layers were zstd. Without it, the alpine layer stayed gzip. With the default values, all layers stayed gzip.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@onedr0p
onedr0p requested a review from a team as a code owner November 3, 2026 21:13
@github-actions github-actions Bot assigned onedr0p Nov 3, 2026
@onedr0p onedr0p mentioned this pull request Nov 3, 2026
Add support for compression settings in bake action #207
Open
@onedr0p
build/bake: compression inputs for image output
db1823b
Signed-off-by: Devin Buhl <[email protected]>
@onedr0p
onedr0p force-pushed the build-bake-compression branch from 1239c61 to db1823b Compare November 3, 2026 21:20
@onedr0p onedr0p changed the title build/bake: compression inputs for image output feat: build/bake: compression inputs for image output Nov 3, 2026
@onedr0p onedr0p changed the title feat: build/bake: compression inputs for image output feat(build/bake): compression inputs for image output Nov 3, 2026
@crazy-max crazy-max mentioned this pull request Nov 5, 2026
build/bake: support configurable image layer compression #339
Open

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@onedr0p onedr0p

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add support for compression settings in bake action

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@onedr0p
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.