mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Jul 12 10:20:16 UTC 2023
This commit is contained in:
parent
f52bc665a7
commit
b4c2508b12
300 changed files with 7469 additions and 3231 deletions
|
|
@ -9,29 +9,31 @@ DESCRIPTION
|
|||
To add tag my-tag to image busy-box referenced by digest abcxyz in
|
||||
us-west1:
|
||||
|
||||
$ gcloud artifacts docker tags
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box@sha256:abcxyz
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag
|
||||
$ gcloud artifacts docker tags add \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/\
|
||||
busy-box@sha256:abcxyz \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag
|
||||
|
||||
To add tag my-tag to image busy-box referenced by tag latest in us-west1:
|
||||
|
||||
$ gcloud artifacts docker tags \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:latest
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag
|
||||
$ gcloud artifacts docker tags add \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/\
|
||||
busy-box:latest \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag
|
||||
|
||||
To delete tag my-tag from image busy-box in us-west1:
|
||||
|
||||
$ gcloud artifacts docker tags \
|
||||
$ gcloud artifacts docker tags delete \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box:my-tag
|
||||
|
||||
To list all tags in repository my-repository in us-west1:
|
||||
|
||||
$ gcloud artifacts docker tags \
|
||||
$ gcloud artifacts docker tags list \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository
|
||||
|
||||
To list tags for image busy-box in us-west1:
|
||||
|
||||
$ gcloud artifacts docker tags \
|
||||
$ gcloud artifacts docker tags list \
|
||||
us-west1-docker.pkg.dev/my-project/my-repository/busy-box
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue