Skip to content

Commit

Permalink
rename env
Browse files Browse the repository at this point in the history
  • Loading branch information
minghsu0107 authored Jun 3, 2021
1 parent b08c2e9 commit 7703437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
apk update && apk add --no-cache git && apk add --no-cache openssh
mkdir -p ~/.ssh && echo $SSH_KEY | base64 -d > ~/.ssh/id_rsa && chmod 700 ~/.ssh/id_rsa && ssh-keyscan $MANIFEST_HOST >> ~/.ssh/known_hosts
rm -rf $MANIFEST_REPO && git clone ssh://git@$MANIFEST_HOST/$MANIFEST_USER/$MANIFEST_REPO.git
cd $MANIFEST_REPO/$SVC_PATH && kustomize edit set image $CONTAINER_REPO:$CONTAINER_TAG
git add . && git commit -m "🚀 update to ${CONTAINER_TAG}"
cd $MANIFEST_REPO/$SVC_PATH && kustomize edit set image $IMAGE_REPO:$IMAGE_TAG
git add . && git commit -m "🚀 update to ${IMAGE_TAG}"
git push ssh://git@$MANIFEST_HOST/$MANIFEST_USER/$MANIFEST_REPO.git

0 comments on commit 7703437

Please sign in to comment.