0
0
Fork 0
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:
Flightkick 2023-09-06 13:35:24 +02:00 committed by Earl Warren
parent 622ba909cc
commit 62d6fc9754

View file

@ -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`