mirror of
https://github.com/docker/login-action.git
synced 2024-12-23 02:37:43 +01:00
Update README.md
Updated docs for buildkite package registry Signed-off-by: Adrian Lee <kleeadrian@github.com>
This commit is contained in:
parent
d5aa2ceaed
commit
13f19da876
13
README.md
13
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user