From 30bdbf366a328cd9fec9a71823f03c935f954772 Mon Sep 17 00:00:00 2001 From: Robert Helmer Date: Mon, 25 Nov 2024 17:22:42 -0800 Subject: [PATCH] add docker version check and upgrade to docker_check CI action (#5338) --- .github/workflows/docker_check.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker_check.yml b/.github/workflows/docker_check.yml index ef75f7751bc..a3d51039732 100644 --- a/.github/workflows/docker_check.yml +++ b/.github/workflows/docker_check.yml @@ -6,9 +6,18 @@ jobs: name: Build Docker image runs-on: ubuntu-latest steps: + - name: Check Docker Version + run: docker --version + + - name: Install Latest Docker + run: | + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - + sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" + sudo apt-get update + sudo apt-get install docker-ce + - name: Check out the repo uses: actions/checkout@v4 - name: Build Docker image run: docker build . -