Skip to content

Commit

Permalink
build(gha): disable build record archive upload
Browse files Browse the repository at this point in the history
Signed-off-by: David Karlsson <[email protected]>
  • Loading branch information
dvdksn committed Jul 3, 2024
1 parent 556445e commit 0551331
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions content/build/ci/github-actions/build-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0551331

Please sign in to comment.