File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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
3333general :
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ JQ="jq --raw-output --exit-status"
55
66ENV=$1
77TAG=$2
8+ AWS_REGION=$( eval " echo \$ ${ENV} _AWS_REGION" )
89ACCOUNT_ID=$( eval " echo \$ ${ENV} _AWS_ACCOUNT_ID" )
910
1011configure_aws_cli () {
You can’t perform that action at this time.
0 commit comments