Skip to content

docker/setup-compose-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on 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: Checkout
        uses: actions/checkout@v4
      -
        name: Set up Docker Compose
        uses: docker/setup-compose-action@v1

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