mirror of
https://github.com/docker/setup-compose-action.git
synced 2025-06-13 14:57:13 +02:00
e7d6fbf47d7f81fb69f6d3ac396ba1a31c51b9ba

docs to download latest version
About
GitHub Action to set up Docker Compose.
Usage
name: ci
on:
push:
jobs:
compose:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Compose
uses: docker/setup-compose-action@v1
Note
If Docker Compose is already installed on the runner, the action will skip download. Otherwise, it will download and install the latest stable version available on GitHub.
To always download and install the latest version of Docker Compose:
-
name: Set up Docker Compose
uses: docker/setup-compose-action@v1
with:
version: latest
Customizing
inputs
The following inputs can be used as step.with
keys:
Name | Type | Default | Description |
---|---|---|---|
version |
String | 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
Languages
TypeScript
56.7%
Dockerfile
28.6%
HCL
14.7%