Skip to content

feat(template_gitops): add docker-build-outputs input for DHI support#385

Merged
askvinni merged 2 commits intomainfrom
feat/docker-build-outputs
Jan 19, 2026
Merged

feat(template_gitops): add docker-build-outputs input for DHI support#385
askvinni merged 2 commits intomainfrom
feat/docker-build-outputs

Conversation

@timdittler
Copy link
Contributor

Summary

  • Add docker-build-outputs input parameter to expose compression settings
  • Update gitops-github-action from v6.4 to v6.5 (required for docker-build-outputs)
  • Pass docker-build-outputs to the underlying action

Why

This enables DHI (Docker Hardened Images) compatibility by allowing callers to specify compression settings. Without this, DHI-based images may fail with:

Failed to pull image: number of layers and diffIDs don't match: 4 != 10

Usage

uses: Staffbase/gha-workflows/.github/workflows/template_gitops.yml@<new-version>
with:
  docker-build-outputs: "type=registry,push=true,compression=gzip,force-compression=true"

- Add docker-build-outputs input parameter to expose compression settings
- Update gitops-github-action from v6.4 to v6.5 (required for docker-build-outputs)
- Pass docker-build-outputs to the underlying action

This enables DHI (Docker Hardened Images) compatibility by allowing callers
to specify compression settings like:
  docker-build-outputs: type=registry,push=true,compression=gzip,force-compression=true
@timdittler timdittler requested a review from a team as a code owner January 19, 2026 15:13
@flaxel flaxel added enhancement New feature or request minor Pull requests with new features labels Jan 19, 2026
@askvinni askvinni merged commit e8d36c1 into main Jan 19, 2026
8 checks passed
@askvinni askvinni deleted the feat/docker-build-outputs branch January 19, 2026 15:41
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2026
@askvinni
Copy link
Contributor

Took the liberty to merge this and will run the release since we need it in https://github.com/Staffbase/data-platform/pull/2311

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request minor Pull requests with new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants