From d571a1948897397cb3a86854c8bb7820198f2918 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:40:01 +0100 Subject: [PATCH] ci: switch to ghaction-setup-docker action Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/ci.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16eb4dfd2a..b826cd4aa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,6 @@ on: required: false default: "false" -env: - DOCKER_CLI_VERSION: "25.0.1" - permissions: contents: read # to fetch code (actions/checkout) @@ -139,19 +136,18 @@ jobs: - plugin - standalone engine: - - 24.0.9 - - 25.0.3 + - v24.0.9 + - v25.0.3 steps: - name: Checkout uses: actions/checkout@v3 - - name: Install Docker ${{ matrix.engine }} - run: | - sudo apt-get install curl - curl -fsSL https://get.docker.com -o get-docker.sh - sudo sh ./get-docker.sh --version ${{ matrix.engine }} - - name: Check Docker Version - run: docker --version + - + name: Set up Docker + uses: crazy-max/ghaction-setup-docker@v3 + with: + version: ${{ matrix.engine }} + set-host: true - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2