Merge pull request #1397 from markhildreth-gravity/patch-1

Correct documentation on gha scopes
This commit is contained in:
Justin Chadwell
2022-11-10 13:39:11 +00:00
committed by GitHub

View File

@ -64,7 +64,7 @@ leaving only the final cache.
To preserve the cache for multiple builds on the same branch, you can manually To preserve the cache for multiple builds on the same branch, you can manually
specify a cache scope name using the `scope` parameter. In the following specify a cache scope name using the `scope` parameter. In the following
example, the cache is set to a combination of the branch name and the image example, the cache is set to a combination of the branch name and the image
name, to ensure each branch gets its own cache): name, to ensure each image gets its own cache):
```console ```console
$ docker buildx build --push -t <registry>/<image> \ $ docker buildx build --push -t <registry>/<image> \