-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 879 Bytes
/
docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ci
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-20.04
container:
image: ubuntu:latest
services:
helloService:
image: hello-world:latest
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 compose version
- name: Check Docker compose
run: |
docker compose version
- name: Check Docker compose
run: |
docker compose ps