Container Registry
Secrets associated with OCI container registries can be specified in a YAML file with the following syntax.
type: image
secret:
trusted-domains:
- example.com
username: username
password: password
The image secret enables you to authenticate to an OCI
container registry in trusted-domains via a username and password so that you can pull private
container images for your
jobs to execute.
Authentication tokens may also be used via the username and password fields. For instance, the
username _json_key_base64 or oauth2accesstoken may be used with the actual values in the
password fields for non-expiring, and expiring tokens respectively.