Browse Source

Update config.yml

main
Francois Lannoy 6 years ago
parent
commit
0a1d6b762d
  1. 2
      .circleci/config.yml

2
.circleci/config.yml

@ -107,7 +107,7 @@ jobs:
- run: - run:
name: Login and Publish to Docker Hub name: Login and Publish to Docker Hub
command: | command: |
docker login --username sgttabouret --password "$DOCKERHUB_PASS"
echo "$DOCKERHUB_PASS" | docker login --username sgttabouret --password-stdin
docker tag $IMAGE_NAME:latest $IMAGE_NAME:$CIRCLE_BUILD_NUM docker tag $IMAGE_NAME:latest $IMAGE_NAME:$CIRCLE_BUILD_NUM
docker tag $IMAGE_NAME:app $IMAGE_NAME:latest docker tag $IMAGE_NAME:app $IMAGE_NAME:latest
docker push $IMAGE_NAME:latest docker push $IMAGE_NAME:latest

Loading…
Cancel
Save