-
Notifications
You must be signed in to change notification settings - Fork 40
45 lines (45 loc) · 1.43 KB
/
docker.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
34
35
36
37
38
39
40
41
42
43
44
45
name: Build Docker Images
on:
push: { branches: [master] }
pull_request: { branches: [master] }
jobs:
build_server:
name: Server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build the docker image
id: build-docker-image
run: |
docker build -t openneuro/node:latest .
docker build -t openneuro/server:latest packages/openneuro-server
build_app:
name: App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build the docker image
id: build-docker-image
run: |
docker build -t openneuro/node:latest .
docker build -t openneuro/app:latest packages/openneuro-app
build_indexer:
name: Indexer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build the docker image
id: build-docker-image
run: |
docker build -t openneuro/node:latest .
docker build -t openneuro/indexer:latest packages/openneuro-indexer
build_datalad_service:
name: Datalad Service
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build the docker image
id: build-docker-image
run: |
cd services/datalad
docker build --build-arg LERNA_JSON="$(cat ../../lerna.json)" -t openneuro/datalad-service:latest .