compose-action/action.yml
Thorrak 41bd5b12bd Add down-options configuration option
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.
2021-04-23 09:54:17 -04:00

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