-
Notifications
You must be signed in to change notification settings - Fork 29
41 lines (32 loc) · 1.01 KB
/
docker-compose.yaml
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
34
35
36
37
38
39
40
41
name: docker-compose test
on:
push:
branches: [ main ]
pull_request:
branches: [ "*" ]
jobs:
docker:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Where I am?
run: |
pwd
ls -al
- name: Setup example projects - folder creation
run: |
cp -R examples example-docker
- name: Setup example projects - strings replacement
run: |
bash docker-prepare.sh
# permission denied -> obvious :-)
#- name: Adds fake hosts
#run: |
#echo 127.0.0.1 localhost trust-anchor.org relying-party.org cie-provider.org wallet.trust-anchor.org > /etc/hosts
- name: Start containers
run: docker-compose -f "docker-compose.yml" up -d --build
- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.yml" down