Skip to content

Commit

Permalink
Tweak to circleci to build on tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlittman committed Sep 24, 2019
1 parent 70cd6f2 commit 37899c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37899c3

Please sign in to comment.