Skip to content

Commit

Permalink
Low ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
SagarGi committed May 15, 2024
1 parent 5919dcb commit 5c7be8a
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,31 @@ 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: crazy-max/ghaction-setup-docker@v3

- name: check docker
run: docker version

- name: Install Compose
uses: ndeloof/[email protected]
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

0 comments on commit 5c7be8a

Please sign in to comment.