Cloud API Overview > @adpt/cloud > docker > ImageRef > registryRef
docker.ImageRef.registryRef property
The best remote reference available for this image in either domain/path@digest
format or domain/path:tag
format.
Signature:
readonly registryRef?: string;
Remarks
Returns registryDigest
if it is set, otherwise returns registryTag
. If no remote reference is available, returns undefined.
Example 1
gcr.io/my-project/image@sha256:899a03e9816e5283edba63d71ea528cd83576b28a7586cf617ce78af5526f209
Example 2
gcr.io/my-project/image:1.0.1