Merge pull request #9721 from glours/update-docker-cli

update Docker CLI version use in CI to v20.10.17
This commit is contained in:
Guillaume Lours 2022-08-05 12:00:51 +02:00 committed by GitHub
commit bf4ca6219a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ on:
default: "false" default: "false"
env: env:
GO_VERSION: 1.18.5 GO_VERSION: 1.18.5
DOCKER_CLI_VERSION: 20.10.17
jobs: jobs:
lint: lint:
name: Lint name: Lint
@ -73,7 +74,7 @@ jobs:
- name: Setup docker CLI - name: Setup docker CLI
run: | run: |
curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.3.tgz | tar xz curl https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_CLI_VERSION}.tgz | tar xz
sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version
- name: Test - name: Test
@ -102,7 +103,7 @@ jobs:
- name: Setup docker CLI - name: Setup docker CLI
run: | run: |
curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.3.tgz | tar xz curl https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_CLI_VERSION}.tgz | tar xz
sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version sudo cp ./docker/docker /usr/bin/ && rm -rf docker && docker version
- name: Build for local E2E - name: Build for local E2E