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 14d412e
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,29 @@ 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: |
sudo apt-get update
sudo apt-get install -y docker.io
- name: Check Docker
run: docker version
run: docker --version

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

0 comments on commit 14d412e

Please sign in to comment.