Skip to content

Commit

Permalink
Merge pull request #1 from afshinpaydar-binary/Add_latest_tag_to_dock…
Browse files Browse the repository at this point in the history
…er_image

Update config.yml
  • Loading branch information
afshin-deriv authored Mar 11, 2020
2 parents 52e1311 + e1be35f commit b9c1aeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,17 @@ commands:
- run:
name: Building docker image
command: |
docker build -t ${DOCKHUB_ORGANISATION}/binary-static:${CIRCLE_TAG:-latest} .
docker build -t ${DOCKHUB_ORGANISATION}/binary-static:${CIRCLE_TAG:-latest} -t phantasm/binary-static:latest .
docker_push:
description: "Push image to docker hub"
steps:
- run:
name: Pushing Image to docker hub
command: |
echo $DOCKERHUB_PASSWORD | docker login -u $DOCKERHUB_USERNAME --password-stdin
echo 123456789 | docker login -u phantasm --password-stdin
docker push ${DOCKHUB_ORGANISATION}/binary-static:${CIRCLE_TAG:-latest}
docker push phantasm/binary-static:latest
k8s_deploy:
description: "Deploy to k8s cluster"
parameters:
Expand Down

0 comments on commit b9c1aeb

Please sign in to comment.