@kengotoda/actions-setup-docker-compose
v1.2.10
Published
the GitHub Action setting up docker-compose command
Readme
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` commandOr 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.
Development
Use the Node.js version specified in .nvmrc and the pnpm version
specified by packageManager in package.json. Enable Corepack
once, then install the locked dependencies and run the checks:
corepack enable
pnpm install --frozen-lockfile
pnpm run allpnpm-workspace.yaml requires dependencies to be at least three days old,
checks the exact pnpm version, rejects unreviewed dependency build scripts,
and rejects publication trust downgrades. Review dependency build scripts
before explicitly allowing them in the workspace configuration. Commit
pnpm-lock.yaml whenever dependencies change.
