From 36b1e232f7785a6bcbb97a8a4e5bd9fa5939e81b Mon Sep 17 00:00:00 2001 From: "sagargurung1001@gmail.com" Date: Wed, 15 May 2024 11:41:43 +0545 Subject: [PATCH] Low ubuntu Signed-off-by: sagargurung1001@gmail.com --- .github/workflows/docker.yml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e3cce90..77c7158 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,15 +7,35 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 + container: + image: ubuntu:latest + services: + helloService: + image: hello-world:latest steps: - name: Checkout uses: actions/checkout@v4 - - name: Check Docker + - name: Checkout docker + uses: papodaca/install-docker-action@main + + - name: check docker run: docker version + - name: Install Compose + uses: ndeloof/install-compose-action@v0.0.1 + with: + version: v2.1.0 # defaults to 'latest' + legacy: true # will also install in PATH as `docker-compose` + - name: Check version docker compose + run: | + docker compose version + - name: Check Docker compose run: | docker compose version - docker-compose version + + - name: Check Docker compose + run: | + docker compose ps