Docker Image

A Docker image is a snapshot of a container, to be run locally, or in the cloud. Docker image artifacts are used as references to images in registries , such as GCR , or Docker Hub . The artifacts can be deployed to Kubernetes or App Engine, and generally trigger pipelines from notifications sent by their registry.

Fields

FieldExplanation
typeAlways docker/image.
referenceThe fully-qualified image name, including version and registry. This can be done either by tag (gcr.io/project/my-image:v1.2) or image digest gcr.io/project/my-image@sha256:28f82eba.
nameThe image’s name (typically the registry and repository) without the image’s version. gcr.io/project/my-image is an example.
versionThe image’s tag or digest.
locationN/A

Example

{
  "type": "docker/image",
  "reference": "gcr.io/project/my-image@sha256:28f82eba",
  "name": "gcr.io/project/my-image",
  "version": "sha256:28f82eba"
}
Last modified January 1, 0001