Skip to content

Commit 7d12aad

Browse files
committed
add a case for using tag
Signed-off-by: Yi Zha <[email protected]>
1 parent b543d4a commit 7d12aad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/container-registry/container-registry-tutorial-sign-build-push.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@ The following steps show how to create a self-signed certificate for testing pur
191191
IMAGE=$REGISTRY/${REPO}@$DIGEST
192192
```
193193
194+
In this tutorial, if the image has already been built and is stored in the registry, the tag serves as an identifier for that image for convenience.
195+
196+
```bash
197+
IMAGE=$REGISTRY/${REPO}@$TAG
198+
```
199+
194200
3. Get the Key ID of the signing key. A certificate in AKV can have multiple versions, the following command gets the Key Id of the latest version.
195201
196202
```bash

0 commit comments

Comments
 (0)