mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-11 23:23:06 +08:00
This new, optional configuration parameter allows for the specification of flags to be passed to the `docker-compose down` command. This is primarily intended to be used for passing the `--volumes` flag whith instructs docker-compose to also delete persistent volumes.
19 lines
463 B
YAML
19 lines
463 B
YAML
name: 'Docker Compose Action'
|
|
description: 'Run your docker-compose file'
|
|
inputs:
|
|
compose-file: # id of input
|
|
description: 'relative path to compose file'
|
|
required: false
|
|
default: './docker-compose.yml'
|
|
down-options: # id of input
|
|
description: 'additional options to pass to `docker-compose down` command'
|
|
required: false
|
|
default: ''
|
|
runs:
|
|
using: 'node12'
|
|
main: 'main.js'
|
|
post: 'post.js'
|
|
branding:
|
|
icon: anchor
|
|
color: blue
|