mirror of https://github.com/docker/docs.git
build(gha): disable build record archive upload
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
556445ecd2
commit
05513310a2
|
@ -80,6 +80,26 @@ in the YAML configuration for your build step:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
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
|
## Limitations
|
||||||
|
|
||||||
Build summaries are currently not supported for:
|
Build summaries are currently not supported for:
|
||||||
|
|
Loading…
Reference in New Issue