Skip to content

Docker Setup Compose

Actions
Set up Docker Compose
v1.0.0
Latest
Verified creator
Star (4)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

GitHub release GitHub marketplace CI workflow Test workflow Codecov

About

GitHub Action to set up Docker Compose.

Screenshot


Usage

name: ci

on:
  push:

jobs:
  compose:
    runs-on: ubuntu-latest
    steps:
      -
        name: Set up Docker Compose
        uses: docker/setup-compose-action@v1

Note

If Docker Compose is already installed on the runner, the action will skip download. Otherwise, it will download and install the latest stable version available on GitHub.

To always download and install the latest version of Docker Compose:

      -
        name: Set up Docker Compose
        uses: docker/setup-compose-action@v1
        with:
          version: latest

Customizing

inputs

The following inputs can be used as step.with keys:

Name Type Default Description
version String Compose version. (eg. v2.32.4, latest)
cache-binary Bool true Cache compose binary to GitHub Actions cache backend

Contributing

Want to contribute? Awesome! You can find information about contributing to this project in the CONTRIBUTING.md

Docker Setup 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

Set up Docker Compose
v1.0.0
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Docker Setup 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.