Giter Site home page Giter Site logo

docker-image-resource's Introduction

Docker Image Resource

Tracks and builds Docker images.

Source Configuration

  • repository: Required. The name of the repository, e.g. concourse/docker-image-resource.

  • tag: Optional. The tag to track. Defaults to latest.

  • username: Optional. The username to authenticate with when pushing.

  • password: Optional. The password to use when authenticating.

  • email: Optional. The email to use when authenticating.

  • server_args: Optional. Additional arguments to be passed during Docker daemon start.

Behavior

check: Check for new images.

The current image ID is fetched from the registry for the given tag of the repository. If it's different from the current version, it is returned.

in: Fetch the image from the registry.

Pulls down the repository from the registry. Note that there's no way to fetch an image by ID from the Docker registry, which makes the version requested irrelevant. Instead, in returns the ID of the image that it ended up fetching as the version.

The following files will be placed in the destination:

  • /image: The docker saved image.
  • /repository: The name of the repository that was fetched.
  • /tag: The tag of the repository that was fetched.
  • /image-id: The fetched image ID.
  • /rootfs.tar: If rootfs is true, the contents of the image will be provided here.

Parameters

  • rootfs: Optional. Place a .tar file of the image in the destination.
  • skip_download: Optional. Skip docker pull of image. Only /image-id, /repo sitory, and /tag will be populated. /image and /rootfs.tar will not be present.

out: Push an image, or build and push a Dockerfile.

Push a Docker image to the source's repository and tag. The resulting version is the image's ID.

Parameters

  • push: Optional. Default true. Push the image to the Docker index.

  • rootfs: Optional. Default false. Place a .tar file of the image in the destination.

  • build: Optional. The path of a directory containing a Dockerfile to build.

  • cache: Optional. Default false. When the build parameter is set, first pull image:tag from the Docker registry (so as to use cached intermediate images when building).

  • load_file: Optional. A path to a file to docker load and then push.

  • import_file: Optional. A path to a file to docker import and then push.

  • pull_repository: Optional. A path to a repository to pull down, and then push to this resource.

  • tag: Optional. The value should be a path to a file containing the name of the tag.

  • tag_prefix: Optional. If specified, the tag read from the file will be prepended with this string. This is useful for adding v in front of version numbers.

docker-image-resource's People

Contributors

bugroger avatar d avatar lnguyen avatar mhoran avatar nopik avatar oppegard avatar robdimsdale avatar vito avatar xoebus avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.