Browse Source

Update config.yml

main
ndrg13 6 years ago
committed by GitHub
parent
commit
cfb5924732
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .circleci/config.yml

17
.circleci/config.yml

@ -74,7 +74,7 @@ jobs:
- run: - run:
name: Run end to end test name: Run end to end test
command: yarn test:e2e command: yarn test:e2e
build_docker_image:
build_and_push_docker_image:
executor: buildpack executor: buildpack
environment: environment:
IMAGE_NAME: my-awesome-ci-expr IMAGE_NAME: my-awesome-ci-expr
@ -85,14 +85,6 @@ jobs:
- run: - run:
name: Build Docker image name: Build Docker image
command: docker build -t $IMAGE_NAME:app . 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: - run:
name: Login to Docker Hub name: Login to Docker Hub
command: | command: |
@ -127,14 +119,11 @@ workflows:
- test_end_to_end: - test_end_to_end:
requires: requires:
- build - build
- build_docker_image:
- build_and_push_docker_image:
requires: requires:
- lint - lint
- test - test
- test_end_to_end - test_end_to_end
- push_docker_image:
requires:
- build_docker_image
- generate_doc: - generate_doc:
requires: requires:
- push_docker_image
- build_and_push_docker_image
Loading…
Cancel
Save