mirror of
https://github.com/docker/setup-compose-action.git
synced 2025-04-21 07:00:03 +02:00
chore: readme
This commit is contained in:
parent
e49975c5ff
commit
d86f57bae0
BIN
.github/setup-compose-action.png
vendored
Normal file
BIN
.github/setup-compose-action.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
54
README.md
Normal file
54
README.md
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
[](https://github.com/docker/setup-compose-action/releases/latest)
|
||||||
|
[](https://github.com/marketplace/actions/docker-setup-compose)
|
||||||
|
[](https://github.com/docker/setup-compose-action/actions?workflow=ci)
|
||||||
|
[](https://github.com/docker/setup-compose-action/actions?workflow=test)
|
||||||
|
[](https://codecov.io/gh/docker/setup-compose-action)
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
GitHub Action to set up Docker [Compose](https://github.com/docker/compose).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
___
|
||||||
|
|
||||||
|
* [Usage](#usage)
|
||||||
|
* [Customizing](#customizing)
|
||||||
|
* [inputs](#inputs)
|
||||||
|
* [Contributing](#contributing)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
name: ci
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
compose:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Set up Docker Compose
|
||||||
|
uses: docker/setup-compose-action@v1
|
||||||
|
```
|
||||||
|
|
||||||
|
## Customizing
|
||||||
|
|
||||||
|
### inputs
|
||||||
|
|
||||||
|
The following inputs can be used as `step.with` keys:
|
||||||
|
|
||||||
|
| Name | Type | Default | Description |
|
||||||
|
|----------------|--------|---------|---------------------------------------------------------------------------------|
|
||||||
|
| `version` | String | | [Compose](https://github.com/docker/compose) version. (eg. `v2.32.4`, `latest`) |
|
||||||
|
| `cache-binary` | Bool | `true` | Cache compose binary to GitHub Actions cache backend |
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Want to contribute? Awesome! You can find information about contributing to
|
||||||
|
this project in the [CONTRIBUTING.md](/.github/CONTRIBUTING.md)
|
Loading…
x
Reference in New Issue
Block a user