first commit
This commit is contained in:
17
.github/ghadocs/examples/2_services.md
vendored
Normal file
17
.github/ghadocs/examples/2_services.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- markdownlint-disable first-line-heading -->
|
||||
|
||||
### Example using `services`
|
||||
|
||||
Perform `docker compose up` to some given service instead of all of them
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
# need checkout before using compose-action
|
||||
- uses: actions/checkout@v3
|
||||
- uses: hoverkraft-tech/compose-action@v1.5.1
|
||||
with:
|
||||
compose-file: "./docker/docker-compose.yml"
|
||||
services: |
|
||||
helloworld2
|
||||
helloworld3
|
||||
```
|
||||
Reference in New Issue
Block a user