Skip to content

Setup docker-compose

Actions
Automate download and set up process for docker-compose command
v1.2.3
Latest
Star (25)

Tags

 (1)

GitHub action to setup docker-compose command

actions-setup-docker-compose status

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-compose command is now deprecated, consider to use the docker compose sub 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.

Setup docker-compose is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automate download and set up process for docker-compose command
v1.2.3
Latest

Tags

 (1)

Setup docker-compose is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.