Skip to content

Commit

Permalink
ci: switch to ghaction-setup-docker action
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Mar 1, 2024
1 parent e99b8ac commit d571a19
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/ci.yml
Expand Up @@ -18,9 +18,6 @@ on:
required: false
default: "false"

env:
DOCKER_CLI_VERSION: "25.0.1"

permissions:
contents: read # to fetch code (actions/checkout)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d571a19

Please sign in to comment.