ci: Pin Compose version to v2.2.3

v2.3.0 introduced a regression which causes the test CI workflow to
fail: https://github.com/docker/compose/issues/9234
This commit is contained in:
Antoine Cotten 2022-03-06 10:28:48 +01:00
parent 82b1e653b0
commit 897720fa91
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ jobs:
#####################################################
- name: Prepare environment
env:
COMPOSE_VERSION: v2.2.3
run: |
# Enable support for Compose V2
@ -32,7 +34,7 @@ jobs:
# https://docs.docker.com/compose/cli-command/#install-on-linux
mkdir -p ~/.docker/cli-plugins
curl -sL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64" -o ~/.docker/cli-plugins/docker-compose
curl -sL "https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-linux-x86_64" -o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
docker compose version