Low ubuntu #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
services: | |
helloService: | |
image: hello-world:latest | |
options: --name hello-service | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# - name: Checkout docker | |
# uses: papodaca/install-docker-action@main | |
- 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 ps -la | |
sleep 30 | |
docker exec -t hello-service /bin/bash |