mirror of
https://github.com/docker/setup-compose-action.git
synced 2026-03-08 05:27:42 +01:00
e1a8c01cf35d16d1e8a0340694663dfc0b90e4f3
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6 to 7. - [Release notes](https://github.com/docker/bake-action/releases) - [Commits](https://github.com/docker/bake-action/compare/v6...v7) Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- updated-dependencies: - dependency-name: docker/bake-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
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@v2
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@v2
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
Description
Languages
TypeScript
47.8%
Dockerfile
26.3%
JavaScript
13.1%
HCL
12.8%
