Browse Source

Update config.yml

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

9
.circleci/config.yml

@ -88,9 +88,15 @@ jobs:
name: Login to Docker Hub name: Login to Docker Hub
command: | command: |
echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_LOGIN" --password-stdin echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_LOGIN" --password-stdin
- run:
name: Tag Docker image
command: docker tag $IMAGE_NAME:app nicodrg/my-awesome-ci-expr:$CIRCLE_BUILD_NUM
- run:
name: Tag Docker image
command: docker tag $IMAGE_NAME:app nicodrg/my-awesome-ci-expr:latest
- run: - run:
name: Push to Docker Hub name: Push to Docker Hub
command: docker push $IMAGE_NAME:app
command: docker push $IMAGE_NAME:latest
workflows: workflows:
version: 2 version: 2
integration: integration:
@ -107,5 +113,6 @@ workflows:
- build - build
- push_to_hub: - push_to_hub:
requires: requires:
- lint
- test - test
- test_end_to_end - test_end_to_end
Loading…
Cancel
Save