|
|
7 лет назад | |
|---|---|---|
| cmd | 7 лет назад | |
| testdata | 7 лет назад | |
| Dockerfile | 7 лет назад | |
| LICENSE.md | 7 лет назад | |
| NOTICE.md | 7 лет назад | |
| README.md | 7 лет назад | |
| check_test.go | 7 лет назад | |
| go.mod | 7 лет назад | |
| go.sum | 7 лет назад | |
| in_test.go | 7 лет назад | |
| suite_test.go | 7 лет назад | |
| types.go | 7 лет назад | |
| types_test.go | 7 лет назад |
Supports checking, fetching, and (eventually) pushing of images to Docker registries.
This resource is intended as a replacement for the Docker Image resource. Here are the key differences:
docker CLI output was
janky).image_resource and resource_types).
put here, so we may need to be able to get in a different
format in order to be symmetrical.repository: Required. The name of the repository, e.g. alpine.tag: Optional. Default latest. The name of the tag to monitor.debug: Optional. Default false. If set, progress bars will be disabled
and debugging output will be printed instead.check: Discover new digests.Reports the current digest that the registry has for the given tag.
in: Fetch the image's rootfs and metadata.format: Optional. Default rootfs. The format to fetch as. (See below.)rootfsThe rootfs format will fetch and unpack the image for use by Concourse task
and resource type images.
This the default for the sake of brevity in pipelines and task configs.
In this format, the resource will produce the following files:
rootfs/...: the unpacked rootfs produced by the image.metadata.json: the runtime information to propagate to Concourse.ociThe oci format will fetch the image and write it to disk in OCI format. This
is analogous to running docker save.
In this format, the resource will produce the following files:
image.tar: the OCI image tarball, suitable for passing to docker load.out: Push an image up to the registry under the given tags.Not implemented yet. Once implemented, this may take an image in a standard
format (say, whatever docker save does) and upload it to the registry to the
tag configured in source.