Skip to content

Conversation

@timdittler
Copy link
Contributor

@timdittler timdittler commented Jan 8, 2026

CI-1094

Summary

  • Add docker-build-outputs input to allow custom output destinations for docker/build-push-action
  • Enables compression settings like type=registry,push=true,compression=zstd,force-compression=true
  • When docker-build-outputs is set, disables the default push parameter to avoid conflicts

Usage

- uses: Staffbase/gitops-github-action@main
  with:
    docker-build-outputs: "type=registry,push=true,compression=zstd,force-compression=true"

Test plan

  • Test action without docker-build-outputs (existing behavior unchanged)
  • Test action with docker-build-outputs set to verify push and compression work correctly

🤖 Generated with Claude Code

Allow users to pass custom output destinations to docker/build-push-action,
enabling features like compression settings (e.g., zstd with force-compression).

When docker-build-outputs is set, the default push parameter is disabled to
avoid conflicts, as outputs can include push=true directly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@timdittler timdittler changed the title Add docker-build-outputs input parameter CI-1094 Add docker-build-outputs input parameter Jan 8, 2026
@timdittler timdittler marked this pull request as ready for review January 8, 2026 08:58
@timdittler timdittler requested review from a team as code owners January 8, 2026 08:58
@timdittler timdittler merged commit 9800b99 into main Jan 8, 2026
7 checks passed
@timdittler timdittler deleted the feature/docker-build-outputs branch January 8, 2026 11:00
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants