Skip to content
anchor

GitHub Action

Docker Compose Setup

v0.0.1 Latest version

Docker Compose Setup

anchor

Docker Compose Setup

Install Docker Compose

Installation

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

              

- name: Docker Compose Setup

uses: ndeloof/install-compose-action@v0.0.1

Learn more about this action in ndeloof/install-compose-action

Choose a version

Install Docker Compose

This GitHub Action installs Docker Compose v2

Usage

jobs:
  my-awesome-job:
    steps:
      - name: Install Compose
        uses: ndeloof/install-compose-action@v0.0.1
        with:
          version: v2.1.0 # defaults to 'latest'
          legacy: true    # will also install in PATH as `docker-compose`
      - run: docker-compose --version