From 6e694a68dff2e8cb34651ae611417a2f1f5087f5 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 | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e3cce90..56996ec 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,15 +7,27 @@ 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: Check Docker compose + - 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 - docker-compose version + docker compose ps