README is used by users as a source of copy&paste so it would be better it is more up to date with the latest version of docker-compose. `version` has been updated to the latest 1.x: https://github.com/docker/compose/releases/tag/1.29.2
19 lines
674 B
Markdown
19 lines
674 B
Markdown
# GitHub action to setup `docker-compose` command
|
|
|
|
<a href="https://github.com/KengoTODA/actions-setup-docker-compose/actions"><img alt="actions-setup-docker-compose status" src="https://github.com/KengoTODA/actions-setup-docker-compose/workflows/build-test/badge.svg"></a>
|
|
|
|
This action downloads the `docker-compose` command and add it to the `PATH` for following executions. It supports the Linux environment only.
|
|
|
|
## How to use
|
|
|
|
Add a step to your workflow like below:
|
|
|
|
```yml
|
|
steps:
|
|
- uses: KengoTODA/actions-setup-docker-compose@main
|
|
with:
|
|
version: '1.29.2'
|
|
```
|
|
|
|
The `version` parameter is required, specify the full version of `docker-compose` command.
|