Skip to content

Commit d99a439

Browse files
committed
feat(github-actions): docker compose ci
1 parent 9f91111 commit d99a439

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Docker Compose CI
2+
3+
on:
4+
pull_request:
5+
branches: ["main"]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4.2.2
13+
14+
- name: Run docker compose
15+
uses: hoverkraft-tech/compose-action@v2.0.1
16+
with:
17+
compose-file: "compose-dev.yaml"
18+
19+
- name: Build production and development docker images
20+
run: |
21+
docker compose build

0 commit comments

Comments
 (0)