Skip to content
terminal

GitHub Action

action-docker-compose

latest Latest version

action-docker-compose

terminal

action-docker-compose

A GitHub action to run docker-compose

Installation

Copy and paste the following snippet into your .yml file.

              

- name: action-docker-compose

uses: sudo-bot/action-docker-compose@latest

Learn more about this action in sudo-bot/action-docker-compose

Choose a version

A GitHub action to run docker-compose

Go to docker-compose at GitHub

You can find the image on Docker Hub

Docker Pulls

I use the base image docker/compose for this action

Example usage

  - uses: actions/checkout@v4
  - name: run docker-compose
    uses: sudo-bot/action-docker-compose@latest
    with:
        # https://docs.docker.com/compose/reference/overview/
        cli-args: "up"