Skip to content

Commit 0a2d4fe

Browse files
authored
Create docker-image.yml
1 parent 313fcd6 commit 0a2d4fe

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Docker CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Build and start services with Docker Compose
18+
run: docker-compose up -d --build
19+
20+
- name: Check running containers
21+
run: docker ps -a

0 commit comments

Comments
 (0)