Install v2.20.0 of docker-compose-plugin (#6997)

Work around the bug[1] in docker-compose-plugin v2.19.1, which is
included in the current github actions ubuntu 20.04 runner image[2].

[1] https://github.com/docker/compose/issues/10777
[2] https://github.com/actions/runner-images/issues/7916

Part of https://github.com/letsencrypt/boulder/issues/6998
This commit is contained in:
Aaron Gable 2023-07-13 14:33:38 -07:00 committed by GitHub
parent f7b79d07e5
commit 944a865f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,11 @@ jobs:
with:
persist-credentials: false
# TODO(#6998): Remove this step when the ubuntu-20.04 image has v2.20.0+.
# Install instructions copied from https://docs.docker.com/compose/install/linux/#install-the-plugin-manually
- name: Update docker compose plugin
run: mkdir -p ${DOCKER_CONFIG:-$HOME/.docker}/cli-plugins && curl -SL https://github.com/docker/compose/releases/download/v2.20.0/docker-compose-linux-x86_64 -o ${DOCKER_CONFIG:-$HOME/.docker}/cli-plugins/docker-compose && chmod +x ${DOCKER_CONFIG:-$HOME/.docker}/cli-plugins/docker-compose
- name: Docker Login
# You may pin to the exact commit or the version.
# uses: docker/login-action@f3364599c6aa293cdc2b8391b1b56d0c30e45c8a