-
Notifications
You must be signed in to change notification settings - Fork 6
23 lines (23 loc) · 843 Bytes
/
push.yml
File metadata and controls
23 lines (23 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: docker-compose-actions-workflow
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: create .env file
run: cp env.example .env
- name: Build the stack
run: docker-compose up -d
- uses: c-py/action-dotenv-to-setenv@v2
with:
env-file: .env
- name: Test Caddy
run: |
docker run --rm --network docker-streamingriver_default curlimages/curl -v --silent http://web/ 2>&1
- name: Test sr-admin-gui
run: |
docker run --rm --network docker-streamingriver_default curlimages/curl -v --silent http://sr-admin-gui/ 2>&1
- name: Test video-gateway
run: |
docker run --rm --network docker-streamingriver_default curlimages/curl -v --silent http://video-gateway/ 2>&1