Docker Deploy
Deploys services in a Docker environment.
Params
| Param | Description |
|---|---|
DOCKER_LOGIN_REGISTRIES | Space separated list of Docker registries to log in to (user:password@registry) (string) |
MODE | Whether to use compose v1, v2 or swarm mode (default: swarm) ("v1" | "v2" | "swarm") |
NAME | Compose project name required for swarm mode (string) |
FILE | Compose file name (use - for STDIN) (string | "-") |
CONTEXT | Context directory (relative to project root) (default: .) (string) |
COMPOSE_BUILD | Whether to build images before starting containers (default: missing) ("always" | "missing" | "never") |
COMPOSE_RECREATE | Whether to recreate containers even if their configuration and image haven't changed (default: missing) ("always" | "missing" | "never") |
COMPOSE_PULL | Whether to pull images before running (default: missing) ("always" | "missing" | "never") |
SWARM_PULL | Whether to query the registry to resolve image digest and supported platforms (default: always) ("always" | "changed" | "never") |
STATE | Whether to deploy or remove the services (default: present) ("present" | "absent") |
Trust
This step requires access to the Docker socket. See Trusted Tasks for more information.