File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,15 @@ builddeploy_steps: &builddeploy_steps
42
42
aws codeartifact login --tool npm --repository topcoder-framework --domain topcoder --domain-owner $AWS_ACCOUNT_ID --region $AWS_REGION --namespace @topcoder-framework
43
43
cp ~/.npmrc .
44
44
rm -f awsenvconf
45
- ./build.sh ${APPNAME}
45
+ - run :
46
+ name : " Build docker image"
47
+ command : |
48
+ ./awsconfiguration.sh ${DEPLOY_ENV}
49
+ source awsenvconf
50
+ ./psvar-processor.sh -t appenv -p /config/${APPNAME}/buildvar
51
+ source buildvar_env
52
+ rm -f awsenvconf
53
+ ./build.sh ${APPNAME}
46
54
- save_cache : *save_cache_settings
47
55
- deploy :
48
56
name : Running MasterScript.
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ COPY . /challenge-api
9
9
WORKDIR /challenge-api
10
10
11
11
# Install the dependencies from package.json
12
- RUN yarn install
12
+ RUN --mount=type=ssh yarn install
13
13
14
14
CMD node /challenge-api/app.js
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ services:
6
6
context : ../
7
7
dockerfile : docker/Dockerfile
8
8
ssh :
9
- - default=${SSH_AUTH_SOCK }
9
+ - default=${SSH_FILE_PATH }
You can’t perform that action at this time.
0 commit comments