mirror of
https://github.com/anchore/syft.git
synced 2026-02-13 02:56:42 +01:00
update config so on copy paste it works without edits (#762)
Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
1350d6c5bf
commit
f3d3eddc96
@ -366,9 +366,9 @@ registry:
|
|||||||
|
|
||||||
# credentials for specific registries
|
# credentials for specific registries
|
||||||
auth:
|
auth:
|
||||||
- # the URL to the registry (e.g. "docker.io", "localhost:5000", etc.)
|
# the URL to the registry (e.g. "docker.io", "localhost:5000", etc.)
|
||||||
# SYFT_REGISTRY_AUTH_AUTHORITY env var
|
# SYFT_REGISTRY_AUTH_AUTHORITY env var
|
||||||
authority: ""
|
- authority: ""
|
||||||
# SYFT_REGISTRY_AUTH_USERNAME env var
|
# SYFT_REGISTRY_AUTH_USERNAME env var
|
||||||
username: ""
|
username: ""
|
||||||
# SYFT_REGISTRY_AUTH_PASSWORD env var
|
# SYFT_REGISTRY_AUTH_PASSWORD env var
|
||||||
@ -376,7 +376,7 @@ registry:
|
|||||||
# note: token and username/password are mutually exclusive
|
# note: token and username/password are mutually exclusive
|
||||||
# SYFT_REGISTRY_AUTH_TOKEN env var
|
# SYFT_REGISTRY_AUTH_TOKEN env var
|
||||||
token: ""
|
token: ""
|
||||||
- ... # note, more credentials can be provided via config file only
|
# - ... # note, more credentials can be provided via config file only
|
||||||
|
|
||||||
log:
|
log:
|
||||||
# use structured logging
|
# use structured logging
|
||||||
@ -412,5 +412,4 @@ anchore:
|
|||||||
# (feature-preview) path to dockerfile to be uploaded with the syft results to Anchore Enterprise (supported on Enterprise 3.0+)
|
# (feature-preview) path to dockerfile to be uploaded with the syft results to Anchore Enterprise (supported on Enterprise 3.0+)
|
||||||
# same as -d ; SYFT_ANCHORE_DOCKERFILE env var
|
# same as -d ; SYFT_ANCHORE_DOCKERFILE env var
|
||||||
dockerfile: ""
|
dockerfile: ""
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user