From c46d11ba2b40fb1dfc7bb060876d3b047609e9b5 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 16 Oct 2026 09:11:02 +0200 Subject: [PATCH] build/bake: disable build summaries in reusable workflows Disable per-build action summaries and remove the build-summary input. A consistent summary for the reusable workflow will be added separately. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/.test-bake.yml | 1 - .github/workflows/.test-build.yml | 1 - .github/workflows/bake.yml | 7 +------ .github/workflows/build.yml | 7 +------ README.md | 2 -- 5 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/.test-bake.yml b/.github/workflows/.test-bake.yml index ae02fb9f..ad224dd9 100644 --- a/.github/workflows/.test-bake.yml +++ b/.github/workflows/.test-bake.yml @@ -414,7 +414,6 @@ jobs: id-token: write with: artifact-upload: false - build-summary: false context: test output: local sbom: true diff --git a/.github/workflows/.test-build.yml b/.github/workflows/.test-build.yml index 64dcd2ef..fb3b151a 100644 --- a/.github/workflows/.test-build.yml +++ b/.github/workflows/.test-build.yml @@ -460,7 +460,6 @@ jobs: id-token: write with: artifact-upload: false - build-summary: false file: test/hello.Dockerfile output: local platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/bake.yml b/.github/workflows/bake.yml index 7cc51ada..171edd98 100644 --- a/.github/workflows/bake.yml +++ b/.github/workflows/bake.yml @@ -45,11 +45,6 @@ on: description: "Duration after which artifact will expire in days. 0 means using default retention." required: false default: 0 - build-summary: - type: boolean - description: "Generate a build summary" - required: false - default: true cache: type: boolean description: "Enable cache to GitHub Actions cache backend" @@ -527,7 +522,7 @@ jobs: - registry-identities - prepare env: - DOCKER_BUILD_SUMMARY: ${{ inputs.build-summary }} + DOCKER_BUILD_SUMMARY: false REGISTRY_AUTHS_PRESENT: ${{ secrets.registry-auths != '' }} strategy: fail-fast: ${{ inputs.fail-fast }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1923615c..12ff8161 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,11 +45,6 @@ on: description: "Duration after which artifact will expire in days. 0 means using default retention." required: false default: 0 - build-summary: - type: boolean - description: "Generate a build summary" - required: false - default: true annotations: type: string description: "List of annotations to set to the image" @@ -455,7 +450,7 @@ jobs: - registry-identities - prepare env: - DOCKER_BUILD_SUMMARY: ${{ inputs.build-summary }} + DOCKER_BUILD_SUMMARY: false REGISTRY_AUTHS_PRESENT: ${{ secrets.registry-auths != '' }} strategy: fail-fast: ${{ inputs.fail-fast }} diff --git a/README.md b/README.md index 2751ecdb..615e01bc 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,6 @@ jobs: | `artifact-name` | String | `docker-github-builder-assets` | Name of the uploaded GitHub artifact (for `local` output) | | `artifact-upload` | Bool | `false` | Upload build output GitHub artifact (for `local` output) | | `artifact-retention-days` | Number | `0` | Duration after which artifact will expire in days. `0` means using default retention | -| `build-summary` | Bool | `true` | Generate a [build summary](https://docs.docker.com/build/ci/github-actions/build-summary/) | | `annotations` | List | | List of annotations to set to the image (for `image` output) | | `build-args` | List | `auto` | List of [build-time variables](https://docs.docker.com/engine/reference/commandline/buildx_build/#build-arg). If you want to set a build-arg through an environment variable, use the `envs` input | | `cache` | Bool | `false` | Enable [GitHub Actions cache](https://docs.docker.com/build/cache/backends/gha/) exporter | @@ -353,7 +352,6 @@ jobs: | `artifact-name` | String | `docker-github-builder-assets` | Name of the uploaded GitHub artifact (for `local` output) | | `artifact-upload` | Bool | `false` | Upload build output GitHub artifact (for `local` output) | | `artifact-retention-days` | Number | `0` | Duration after which artifact will expire in days. `0` means using default retention | -| `build-summary` | Bool | `true` | Generate a [build summary](https://docs.docker.com/build/ci/github-actions/build-summary/) | | `cache` | Bool | `false` | Enable [GitHub Actions cache](https://docs.docker.com/build/cache/backends/gha/) exporter | | `cache-scope` | String | target name or `buildkit` | Which [scope cache object belongs to](https://docs.docker.com/build/cache/backends/gha/#scope) if `cache` is enabled. This is the cache blob prefix name used when pushing cache to GitHub Actions cache backend | | `cache-mode` | String | `min` | [Cache layers to export](https://docs.docker.com/build/cache/backends/#cache-mode) if cache enabled (`min` or `max`). In `min` cache mode, only layers that are exported into the resulting image are cached, while in `max` cache mode, all layers are cached, even those of intermediate steps |