From c38389cc68e5bb01d4ad11749be9acb4c83f61f6 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 | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e3cce90..2782756 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,15 +7,32 @@ 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: docker-practice/actions-setup-docker@master + timeout-minutes: 12 + + - name: actions/checkout 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 + docker compose --version