mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-24 18:09:26 -05:00
docs: Add an example for registry credentials.
This commit is contained in:
parent
622ba909cc
commit
62d6fc9754
1 changed files with 4 additions and 0 deletions
|
@ -285,6 +285,10 @@ If the default image is unsuitable, a job can specify an alternate container ima
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: alpine:3.18
|
image: alpine:3.18
|
||||||
|
## Optionally provide credentials if the registry requires authentication.
|
||||||
|
#credentials:
|
||||||
|
# username: "root"
|
||||||
|
# password: "admin1234"
|
||||||
```
|
```
|
||||||
|
|
||||||
### `jobs.<job_id>.options`
|
### `jobs.<job_id>.options`
|
||||||
|
|
Loading…
Reference in a new issue