From 05513310a29bc8375b243bbe1d268768b5e608d9 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Wed, 3 Jul 2024 10:14:47 +0200 Subject: [PATCH] build(gha): disable build record archive upload Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- .../build/ci/github-actions/build-summary.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/content/build/ci/github-actions/build-summary.md b/content/build/ci/github-actions/build-summary.md index 79823bfb3d9..89a6b5c15d5 100644 --- a/content/build/ci/github-actions/build-summary.md +++ b/content/build/ci/github-actions/build-summary.md @@ -80,6 +80,26 @@ in the YAML configuration for your build step: labels: ${{ steps.meta.outputs.labels }} ``` +## Disable build record upload + +To disable the upload of the build record archive to GitHub, set the +`DOCKER_BUILD_RECORD_UPLOAD` environment variable in the YAML configuration for +your build step: + +```yaml {hl_lines=5} + - + name: Build + uses: docker/docker-build-push-action@v6 + env: + DOCKER_BUILD_RECORD_UPLOAD: false + with: + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} +``` + +With this configuration, the build summary is still generated, but does not +contain a link to download the build record archive. + ## Limitations Build summaries are currently not supported for: