File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed
Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-20.04
11+ services :
12+ helloService :
13+ image : hello-world:latest
14+ options : --name hello-service
1115 steps :
1216 - name : Checkout
1317 uses : actions/checkout@v4
1418
15- - name : Check Docker
19+ - name : Checkout docker
20+ uses : crazy-max/ghaction-setup-docker@v3
21+
22+ - name : check docker
1623 run : docker version
1724
18- - name : Check Docker compose
25+ - name : Install Compose
26+ uses : ndeloof/install-compose-action@v0.0.1
27+ with :
28+ version : v2.1.0 # defaults to 'latest'
29+ legacy : true # will also install in PATH as `docker-compose`
30+ - name : Check version docker compose
1931 run : |
20- docker compose version
21- docker- compose version
32+ docker ps -la
33+ docker compose ps
Original file line number Diff line number Diff line change 1+ version : " 3.8"
2+
3+ services :
4+ hello :
5+ image : hello-world:latest
6+ container_name : hello_world_container
You can’t perform that action at this time.
0 commit comments