This GitHub Action installs Docker Compose v2
jobs:
my-awesome-job:
steps:
- name: Install Compose
uses: ndeloof/[email protected]
with:
version: v2.1.0 # defaults to 'latest'
legacy: true # will also install in PATH as `docker-compose`
- run: docker-compose --version