smartlyio/docker-compose-action

Run docker-compose and enforce cleanup after the job finished

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
composeFileThe path to the docker-compose file to use, realtive to the workspace.nodocker-compose.yml
serviceNameThe name of the service to use defined in the compose file. If not given, will run all services.no""
composeCommandOne of `up` or `run` as the main compose command to execute.noup
composeArgumentsOption flags passed to the compose command.no--abort-on-container-exit
runCommandCommand to run in the container when composeCommand is 'run'; ignored otherwise.no""
buildExplicitly build the service image before running. Implies pull before build.nofalse
pushWhen to push the built image to the registry. 'on:push' means when the trigger event it a push to the branch. Otherwise true/false. Only runs if 'build' is true.noon:push
build-argsBuild arguments to pass to docker-compose build, as a newline separated list. Requires "build" option to be set when used. Values may not contain commas, as a naive string split is used to parse them. e.g: build-args: | ARG1=value ARG2=other no
registry-cacheDomain name of a proxying cache to dockerhubnohub.artifactor.ee
namedescription
container_idThe docker ID of the service container run.