whoan/Build docker images using cache

Use registry to pull/push cache for an image (stages included)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
image_nameName of the image to buildno
compose_filePath to compose fileno
services_regex(Optional) Regex to filter services from compose fileno.+
username(Optional) Docker's registry user (needed to push image to repository, or to pull from private repository)no
password(Optional) Docker's registry password (needed to push image to repository, or to pull from private repository)no
session(Optional) Docker registry's session (extra auth parameters). For the AWS ECR, means setting AWS_SESSION_TOKEN environment variable).no
registry(Optional) Docker registry (default: Docker Hub's registry)no
image_tag(Optional) Tag/s of the image to build (default: latest)nolatest
context(Optional) Docker context (default: ./)no.
dockerfile(Optional) Name of the Dockerfile (default: Dockerfile)noDockerfile
push_image_and_stages(Optional) Test any command before pushing. Use false to avoid pushing to registry (default: true)notrue
stages_image_name(Optional) Use a custom name for the stages. Useful if using a job matrix (default: ${image_name}-stages)no
push_git_tag(Optional) In addition to `image_tag` value, you can also push current git tag (default: false)nofalse
pull_image_and_stages(Optional) Set to false to avoid pulling from registry (default: true)notrue
build_extra_args(Optional) Extra arguments to pass to docker buildno
namedescription
FULL_IMAGE_NAMEFull name of the Docker Image with the Registry (if provided) and Namespace included