DEV Community

Kengo TODA
Kengo TODA

Posted on

New GitHub Action to set up docker-compose

My Action

This setup-docker-compose action downloads the docker-compose command and add it to the PATH for following executions. At this moment, It supports the Linux environment only.

Submission Category:

Wacky Wildcards. Usually, FOSS projects don't need to use this action, because action runners hosted by GitHub already have docker-compose in its PATH. So other categories aren't suitable to submit.

Yaml File or Link to Code

GitHub logo KengoTODA / actions-setup-docker-compose

the GitHub Action setting up docker-compose command

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 execution. It supports Linux environment only.

How to use

Add a step to your workflow like below:

  steps:
  - uses: KengoTODA/actions-setup-docker-compose@main
    with:
      version: '1.26.2'

The version parameter is required, specify the full version of docker-compose command.




Additional Resources / Info

As noted above, FOSS projects usually don't need to use this action. So there is no FOSS project depending on it for now.

This action is for who's trying to integrate FOSS power into in-house development with the self-hosted runner.

Top comments (0)