From dabd7648e73e351907079665e26826fd7fe4391a Mon Sep 17 00:00:00 2001 From: ndrg13 <72130242+ndrg13@users.noreply.github.com> Date: Thu, 5 Nov 2020 22:01:23 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b77c00..ddb2a79 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,17 +74,23 @@ jobs: - run: name: Run end to end test command: yarn test:e2e - push_to_hub: + build_docker_image: executor: buildpack environment: - IMAGE_NAME: testimg + IMAGE_NAME: my-awesome-ci-expr steps: - checkout - - setup_remote_docker: + - setup_remote_docker version: 19.03.13 - run: name: Build Docker image command: docker build -t $IMAGE_NAME:app . + push_docker_image: + executor: buildpack + environment: + IMAGE_NAME: my-awesome-ci-expr + steps: + - checkout - run: name: Login to Docker Hub command: | @@ -98,6 +104,10 @@ jobs: - run: name: Push to Docker Hub command: docker push $IMAGE_NAME:latest + generate_doc: + executor: node-executor + steps: + - checkout - run: name: Build doc command: yarn doc:build