diff --git a/.circleci/config.yml b/.circleci/config.yml index 3bcb63cfb..f9eb1932d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -78,8 +78,8 @@ jobs: docker build -t ld4p/sinopia_editor:$CIRCLE_TAG-stage --build-arg TRELLIS_BASE_URL=$TRELLIS_BASE_URL_STAGE --build-arg SINOPIA_URI=$SINOPIA_URI_STAGE --build-arg AWS_COGNITO_DOMAIN=$AWS_COGNITO_DOMAIN_STAGE --build-arg COGNITO_CLIENT_ID=$COGNITO_CLIENT_ID_STAGE --build-arg COGNITO_USER_POOL_ID=$COGNITO_USER_POOL_ID_STAGE --build-arg INDEX_URL=$INDEX_URL_STAGE --build-arg SEARCH_HOST=$INDEX_URL_STAGE . docker build -t ld4p/sinopia_editor:$CIRCLE_TAG-prod --build-arg TRELLIS_BASE_URL=$TRELLIS_BASE_URL_PROD --build-arg SINOPIA_URI=$SINOPIA_URI_PROD --build-arg AWS_COGNITO_DOMAIN=$AWS_COGNITO_DOMAIN_PROD --build-arg COGNITO_CLIENT_ID=$COGNITO_CLIENT_ID_PROD --build-arg COGNITO_USER_POOL_ID=$COGNITO_USER_POOL_ID_PROD --build-arg INDEX_URL=$INDEX_URL_PROD --build-arg SEARCH_HOST=$INDEX_URL_PROD . echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin - docker push ld4p/sinopia_editor:stage - docker push ld4p/sinopia_editor:prod + docker push ld4p/sinopia_editor:$CIRCLE_TAG-stage + docker push ld4p/sinopia_editor:$CIRCLE_TAG-prod update_ecs: working_directory: ~/sinopia_editor