Skip to content

Commit 8f4412e

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents fe9e57f + 9d0924a commit 8f4412e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

circle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ deployment:
2020
branch: develop
2121
owner: topcoder-platform
2222
commands:
23-
- docker build --build-arg BUILD_ENV=development -t $DEV_AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/community-app:$CIRCLE_SHA1 .
23+
- docker build --build-arg BUILD_ENV=development -t $DEV_AWS_ACCOUNT_ID.dkr.ecr.$DEV_AWS_REGION.amazonaws.com/community-app:$CIRCLE_SHA1 .
2424
- ./deploy.sh DEV $CIRCLE_SHA1
2525

2626
production:
2727
tag: /v[0-9]+(\.[0-9]+)*/
2828
owner: topcoder-platform
2929
commands:
30-
- docker build --build-arg BUILD_ENV=production -t $PROD_AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/community-app:$CIRCLE_TAG .
30+
- docker build --build-arg BUILD_ENV=production -t $PROD_AWS_ACCOUNT_ID.dkr.ecr.$PROD_AWS_REGION.amazonaws.com/community-app:$CIRCLE_TAG .
3131
- ./deploy.sh PROD $CIRCLE_TAG
3232

3333
general:

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ JQ="jq --raw-output --exit-status"
55

66
ENV=$1
77
TAG=$2
8+
AWS_REGION=$(eval "echo \$${ENV}_AWS_REGION")
89
ACCOUNT_ID=$(eval "echo \$${ENV}_AWS_ACCOUNT_ID")
910

1011
configure_aws_cli() {

0 commit comments

Comments
 (0)