|
|
7 år sedan | |
|---|---|---|
| cmd | 7 år sedan | |
| testdata | 7 år sedan | |
| Dockerfile | 7 år sedan | |
| LICENSE.md | 7 år sedan | |
| NOTICE.md | 7 år sedan | |
| README.md | 7 år sedan | |
| check_test.go | 7 år sedan | |
| go.mod | 7 år sedan | |
| go.sum | 7 år sedan | |
| in_test.go | 7 år sedan | |
| suite_test.go | 7 år sedan | |
| types.go | 7 år sedan |
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.This image is meant to be used for fetching Concourse task images and pipeline-provided resource types.
So by default, this resource will produce the following files:
rootfs/...: the unpacked rootfs produced by the image.metadata.json: the runtime information to propagate to Concourse.In a later release, it might be a good idea to optionally fetch the image in
other formats that are more useful for e.g. Docker's tooling (perhaps a file
equivalent to docker save).
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.