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 6b36e62
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: Install Docker
run: |
apt-get update
apt-get install -y docker.io
apt-get install -y curl
- name: Check Docker
run: docker version
run: docker --version

- name: Check Docker Compose
run: |
curl -L "https://github.com/docker/compose/releases/download/2.27.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker compose --version
- name: Check services
run: |
docker compose ps
- name: Check Docker compose
run: |
docker compose version
docker-compose version
docker compose --version

0 comments on commit 6b36e62

Please sign in to comment.