4677f0d86d41e623c9c6e11e1d910976da297bc0
## [1.2.2](https://github.com/KengoTODA/actions-setup-docker-compose/compare/v1.2.1...v1.2.2) (2024-04-07) ### Bug Fixes * **deps:** update dependency @octokit/action to v6.1.0 ([d6b647d](d6b647df28))
GitHub action to setup docker-compose command
This action downloads the docker-compose command and add it to the PATH for following executions. It supports the Linux environment only.
Important
The
docker-composecommand is now deprecated, consider to use thedocker composesub command instead. Refer to Docker official blog for detail.
How to use
Add a step to your workflow like below:
steps:
- uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: '2.14.2' # the full version of `docker-compose` command
Or set a GITHUB_TOKEN environment variable, to use the latest released version:
steps:
- uses: KengoTODA/actions-setup-docker-compose@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
The 'latest release' here means the most recent non-prerelease, non-draft release, sorted by the created_at attribute.
Note that the GITHUB_TOKEN should have contents: read permission to fetch data from the GitHub.com.
Description
Languages
TypeScript
94%
JavaScript
6%