mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
gcloud: Thu Jul 25 09:27:13 UTC 2024
This commit is contained in:
parent
503936d882
commit
3a4c5997b9
153 changed files with 2744 additions and 496 deletions
|
|
@ -28,15 +28,18 @@ DESCRIPTION
|
|||
▪ A valid repository format was not provided.
|
||||
|
||||
EXAMPLES
|
||||
To create a repository with the name my-repo under the current project,
|
||||
run:
|
||||
|
||||
$ gcloud artifacts repositories create my-repo
|
||||
|
||||
To create repository my-repo with a KMS key
|
||||
projects/my-project/locations/us/keyRings/my-kr/cryptoKeys/my-key, run:
|
||||
To create a docker repository with the name my-repo in the default project
|
||||
and location, run the following command:
|
||||
|
||||
$ gcloud artifacts repositories create my-repo \
|
||||
--repository-format=docker
|
||||
|
||||
To create a docker repository my-repo with a KMS key
|
||||
projects/my-project/locations/us/keyRings/my-kr/cryptoKeys/my-key in the
|
||||
default project and location, run the following command:
|
||||
|
||||
$ gcloud artifacts repositories create my-repo \
|
||||
--repository-format=docker \
|
||||
--kms-key=projects/my-project/locations/us/keyRings/my-kr/\
|
||||
cryptoKeys/my-key
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue