DEV Community

Kengo TODA
Kengo TODA

Posted on

1 1

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.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more