Cloud API Overview > @adpt/cloud > docker > DockerBuildOptions > uniqueTag
docker.DockerBuildOptions.uniqueTag property
If true and the newly built image ID does not match the image ID for prevUniqueNameTag (or prevUniqueNameTag is not set), a new unique nameTag is generated for this image (from imageName and imageTag). If true and the newly built image ID does match the image ID for prevUniqueNameTag, then prevUniqueNameTag is returned as nameTag. If false, imageName and imageTag are used without modification.
Signature:
uniqueTag?: boolean;