build(gha): disable build record archive upload

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-07-03 10:14:47 +02:00
parent 556445ecd2
commit 05513310a2
1 changed files with 20 additions and 0 deletions

View File

@ -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: