Skip to content

Commit

Permalink
push to Docker hub from circleCI - try jleetutorial#6
Browse files Browse the repository at this point in the history
  • Loading branch information
dfoote-tibco committed Jan 8, 2021
1 parent 17511a1 commit 34ccac5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- deploy:
name: Push application Docker Image
command: |
docker login --username $DOCKER_HUB_USER_ID --password $DOCKER_HUB_PWD
docker login -u $DOCKER_HUB_USER_ID - $DOCKER_HUB_PWD
docker tag dockerapp_dockerapp $DOCKER_HUB_USER_ID/dockerapp:$CIRCLE_SHA1
docker tag dockerapp_dockerapp $DOCKER_HUB_USER_ID/dockerapp:latest
docker push $DOCKER_HUB_User_ID/dockerapp:$CIRCLE_SHA1
docker push $DOCKER_HUB_User_ID/dockerapp:latest
docker push $DOCKER_HUB_USER_ID/dockerapp:$CIRCLE_SHA1
docker push $DOCKER_HUB_USER_ID/dockerapp:latest

0 comments on commit 34ccac5

Please sign in to comment.