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.
13 lines
288 B
YAML
13 lines
288 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
test-compose-action:
|
|
runs-on: ubuntu-latest
|
|
name: test compose action
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: isbang/compose-action@v0.1
|
|
with:
|
|
compose-file: './docker/docker-compose.yml'
|
|
down-options: '--volumes'
|