ci: Run tests using latest Compose V2 release

This commit is contained in:
Antoine Cotten 2021-11-06 10:38:41 +01:00
parent 233c4e0b8c
commit e9903fecf6
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 2 additions and 3 deletions

View File

@ -24,8 +24,6 @@ jobs:
#####################################################
- name: Prepare environment
env:
COMPOSE_VERSION: v2.0.1
run: |
# Install Linux packages
@ -41,8 +39,9 @@ jobs:
# https://docs.docker.com/compose/cli-command/#install-on-linux
mkdir -p ~/.docker/cli-plugins
curl -sL "https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-linux-x86_64" -o ~/.docker/cli-plugins/docker-compose
curl -sL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64" -o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
docker compose version
# Pre-build container images