-
Notifications
You must be signed in to change notification settings - Fork 79
33 lines (28 loc) · 824 Bytes
/
build.yaml
File metadata and controls
33 lines (28 loc) · 824 Bytes
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
name: Docker Compose CI
on:
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
services:
docker:
image: docker:dind
options: --privileged
volumes:
- /var/run/docker.sock:/var/run/docker.sock
env:
MCP_SERVER_PORT: ${{ secrets.MCP_SERVER_PORT }}
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
POSTGRES_DSN: ${{ secrets.POSTGRES_DSN }}
steps:
- uses: actions/checkout@v4.2.2
- name: Build production and development docker images
run: |
./community/youtube/build.sh
docker compose build
- name: Run docker compose
uses: hoverkraft-tech/compose-action@v2.0.1
with:
compose-file: "compose-dev.yaml"