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 ### 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 ```yaml
name: ci name: ci
@ -515,10 +515,17 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: packages.buildkite.com 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 }} 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 read_registries
write_registries write_registries