From cfb5924732b9e4e26f215f1fa79c9fa679edbc40 Mon Sep 17 00:00:00 2001 From: ndrg13 <72130242+ndrg13@users.noreply.github.com> Date: Thu, 5 Nov 2020 22:29:10 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 66dba97..b5769cd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,7 +74,7 @@ jobs: - run: name: Run end to end test command: yarn test:e2e - build_docker_image: + build_and_push_docker_image: executor: buildpack environment: IMAGE_NAME: my-awesome-ci-expr @@ -85,14 +85,6 @@ jobs: - 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 - - setup_remote_docker: - version: 19.03.13 - run: name: Login to Docker Hub command: | @@ -127,14 +119,11 @@ workflows: - test_end_to_end: requires: - build - - build_docker_image: + - build_and_push_docker_image: requires: - lint - test - test_end_to_end - - push_docker_image: - requires: - - build_docker_image - generate_doc: requires: - - push_docker_image + - build_and_push_docker_image