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:
Christopher Angelo Phillips 2022-01-21 09:15:22 -05:00 committed by GitHub
parent 1350d6c5bf
commit f3d3eddc96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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