-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudbuild.yaml
28 lines (27 loc) · 1.12 KB
/
cloudbuild.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
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build',
'--build-arg',
'REACT_APP_KAKAO_MAP_API_KEY=${_REACT_APP_KAKAO_MAP_API_KEY}',
'--build-arg',
'REACT_APP_DOMAIN_API_URL=${_REACT_APP_DOMAIN_API_URL}',
'--build-arg',
'REACT_APP_FIREBASE_API_KEY=${_REACT_APP_FIREBASE_API_KEY}',
'--build-arg',
'REACT_APP_FIREBASE_AUTH_DOMAIN=${_REACT_APP_FIREBASE_AUTH_DOMAIN}',
'--build-arg',
'REACT_APP_FIREBASE_PROJECT_ID=${_REACT_APP_FIREBASE_PROJECT_ID}',
'--build-arg',
'REACT_APP_FIREBASE_STORAGE_BUCKET=${_REACT_APP_FIREBASE_STORAGE_BUCKET}',
'--build-arg',
'REACT_APP_ALGOLIA_APP_ID=${_REACT_APP_ALGOLIA_APP_ID}',
'--build-arg',
'REACT_APP_ALGOLIA_API_KEY=${_REACT_APP_ALGOLIA_API_KEY}',
'--build-arg',
'REACT_APP_ALGOLIA_INDEX=${_REACT_APP_ALGOLIA_INDEX}',
'--build-arg',
'REACT_APP_ARTIST_ALGOLIA_INDEX=${_REACT_APP_ARTIST_ALGOLIA_INDEX}',
'-t',
'gcr.io/$PROJECT_ID/cra-cloud-run',
'.']
images: ['gcr.io/$PROJECT_ID/cra-cloud-run']