Update README.md

Updated docs for buildkite package registry

Signed-off-by: Adrian Lee <kleeadrian@github.com>
This commit is contained in:
Adrian Lee 2024-11-26 12:11:27 +11:00 committed by GitHub
parent d5aa2ceaed
commit 13f19da876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -497,7 +497,7 @@ jobs:
### Buildkite Package Registry
Use your Buildkite registered email address and an API access token to authenticate.
Use your Buildkite registered email address to generate an API access token to authenticate. U
```yaml
name: ci
@ -515,10 +515,17 @@ jobs:
uses: docker/login-action@v3
with:
registry: packages.buildkite.com
username: buildkite #All usernames to buildkite packages is "buildkite". Ref https://buildkite.com/docs/package-registries
username: buildkite #All usernames to buildkite packages is "buildkite".
password: ${{ secrets.BUILDKITE_ACCESS_TOKEN }}
```
Scope required:
**Useful references:**
[Buildkite package Registry](https://buildkite.com/docs/package-registries)
Go to your Buildkite Org/Buildkite Package registry to generate a token
**Working pipeline example:** [https://gist.github.com/kleeadrian/f096878f76b5fb759976adce9550c9a5](https://gist.github.com/kleeadrian/f096878f76b5fb759976adce9550c9a5)
**Scope required:**
```
read_registries
write_registries