-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-builders.yml
40 lines (35 loc) · 1.05 KB
/
docker-compose-builders.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
version: '3.8'
x-args: &args
args:
REGISTRY: ${REGISTRY:-}
REPOSITORY: ${REPOSITORY:-}
BUILD_TAG: ${BUILD_TAG:-local}
services:
builder-portfolio-map:
image: ${REGISTRY}${REPOSITORY}builder-portfolio-map:${IMAGE_TAG:-latest}
build:
context: portfolio-map
dockerfile: Dockerfile
<<: *args
target: builder-portfolio-map
builder-portfolio-sql:
image: ${REGISTRY}${REPOSITORY}builder-portfolio-sql:${IMAGE_TAG:-latest}
build:
context: portfolio-sql
dockerfile: Dockerfile
<<: *args
target: builder-portfolio-sql
builder-portfolio-react:
image: ${REGISTRY}${REPOSITORY}builder-portfolio-react:${IMAGE_TAG:-latest}
build:
context: portfolio-react
dockerfile: Dockerfile
<<: *args
target: builder-portfolio-react
builder-portfolio-combined:
image: ${REGISTRY}${REPOSITORY}builder-portfolio-combined:${IMAGE_TAG:-latest}
build:
context: .
dockerfile: docker/portfolio-combined/Dockerfile
<<: *args
target: builder-portfolio-combined