Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1362 from Mahboobeh-binary/patch-16
Browse files Browse the repository at this point in the history
fix tick trade image
  • Loading branch information
sysadmin-frontend-binary authored Jun 3, 2020
2 parents 0cf7c8e + 426393c commit 6a4bf26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ commands:
- run:
name: Building docker image for production
command: |
docker build -t ${DOCKHUB_ORGANISATION}/ticktrade-mobile:${CIRCLE_TAG} -t ${DOCKHUB_ORGANISATION}/ticktrade-mobile:latest .
docker build -t ${DOCKHUB_ORGANISATION}/binary-static-ticktrade:${CIRCLE_TAG} -t ${DOCKHUB_ORGANISATION}/binary-static-ticktrade:latest .
- run:
name: Pushing Image to docker hub
command: |
Expand All @@ -108,7 +108,7 @@ commands:
KUBE_SERVER="${!KUBE_SERVER_REF}"
SERVICEACCOUNT_TOKEN="${!SERVICEACCOUNT_TOKEN_REF}"
echo $CA_CRT | base64 --decode > ca.crt
kubectl --server=${KUBE_SERVER} --certificate-authority=ca.crt --token=$SERVICEACCOUNT_TOKEN set image deployment/ticktrade-binary-com ticktrade-binary-com=${DOCKHUB_ORGANISATION}/ticktrade-mobile:${CIRCLE_TAG}
kubectl --server=${KUBE_SERVER} --certificate-authority=ca.crt --token=$SERVICEACCOUNT_TOKEN set image deployment/ticktrade-binary-com ticktrade-binary-com=${DOCKHUB_ORGANISATION}/binary-static-ticktrade:${CIRCLE_TAG}
fi
done
Expand Down

0 comments on commit 6a4bf26

Please sign in to comment.