mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 19:06:53 +00:00
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
NAME
|
|
gcloud beta artifacts docker upgrade - commands to support Container
|
|
Registry to Artifact Registry upgrade
|
|
|
|
SYNOPSIS
|
|
gcloud beta artifacts docker upgrade COMMAND [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) To print an equivalent Artifact Registry IAM policy for
|
|
'gcr.io/my-project':
|
|
|
|
$ gcloud beta 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 beta artifacts docker upgrade migrate --projects=my-project
|
|
|
|
To migrate a project from Container Registry to Artifact Registry using
|
|
pkg.dev repos:
|
|
|
|
$ gcloud beta 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:
|
|
|
|
print-iam-policy
|
|
(BETA) Print an Artifact Registry IAM policy for Container Registry to
|
|
Artifact Registry upgrade.
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice. This
|
|
variant is also available:
|
|
|
|
$ gcloud artifacts docker upgrade
|
|
|