Fix auth options
This commit is contained in:
parent
14eb26c618
commit
9282147ebf
@ -89,8 +89,8 @@ def _add_local_tag(remote_tag: str, registry: str, local_tag: str):
|
|||||||
@click.option('--exclude', help="don\'t fetch these containers")
|
@click.option('--exclude', help="don\'t fetch these containers")
|
||||||
@click.option("--force-local-overwrite", is_flag=True, default=False, help="Overwrite a locally built image, if present")
|
@click.option("--force-local-overwrite", is_flag=True, default=False, help="Overwrite a locally built image, if present")
|
||||||
@click.option("--image-registry", required=True, help="Specify the image registry to fetch from")
|
@click.option("--image-registry", required=True, help="Specify the image registry to fetch from")
|
||||||
@click.option("--registry_username", required=True, help="Specify the image registry username")
|
@click.option("--registry-username", required=True, help="Specify the image registry username")
|
||||||
@click.option("--registry_token", required=True, help="Specify the image registry access token")
|
@click.option("--registry-token", required=True, help="Specify the image registry access token")
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
def command(ctx, include, exclude, force_local_overwrite, image_registry, registry_username, registry_token):
|
def command(ctx, include, exclude, force_local_overwrite, image_registry, registry_username, registry_token):
|
||||||
'''EXPERIMENTAL: fetch the images for a stack from remote registry'''
|
'''EXPERIMENTAL: fetch the images for a stack from remote registry'''
|
||||||
|
Loading…
Reference in New Issue
Block a user