mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
NAME
|
|
gcloud artifacts docker upgrade - commands to support Container Registry to
|
|
Artifact Registry upgrade
|
|
|
|
SYNOPSIS
|
|
gcloud artifacts docker upgrade COMMAND [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
To print an equivalent Artifact Registry IAM policy for
|
|
'gcr.io/my-project':
|
|
|
|
$ gcloud artifacts docker upgrade print-iam-policy gcr.io \
|
|
--project=my-project
|
|
|
|
To migrate a project from Container Registry to Artifact Registry using
|
|
gcr.io repos:
|
|
|
|
$ gcloud artifacts docker upgrade migrate --projects=my-project
|
|
|
|
To migrate a project from Container Registry to Artifact Registry using
|
|
pkg.dev repos:
|
|
|
|
$ gcloud artifacts docker upgrade migrate \
|
|
--from-gcr-io=gcr.io/from-project \
|
|
--to-pkg-dev=to-project/to-repo
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --help.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
COMMANDS
|
|
COMMAND is one of the following:
|
|
|
|
migrate
|
|
Migrate projects from Container Registry to Artifact Registry.
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud beta artifacts docker upgrade
|
|
|