-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 1.13 KB
/
ci.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
name: Docker CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
# custom script for AdGuardHome because we need to disable resolved
# sudo required for github action
- run: |
cd adguardhome
docker-compose pull
sudo systemctl disable systemd-resolved.service
sudo systemctl stop systemd-resolved.service
docker-compose up -d
docker-compose down
sudo systemctl enable systemd-resolved.service
sudo systemctl start systemd-resolved.service
# don't do this when running locally with act because i can't find an ubuntu dind image
if: ${{ env.ACT == false }}
# test the rest of the containers
- run: |
docker-compose -f bazarr/docker-compose.yml up -d
docker-compose -f code-server/docker-compose.yml up -d
docker-compose -f czkawka/docker-compose.yml up -d
docker-compose -f dozzle/docker-compose.yml up -d
docker-compose -f homeassistant/docker-compose.yml up -d