chore: remove manual chart update step
Some checks failed
Build & Release / build (push) Has been cancelled
Some checks failed
Build & Release / build (push) Has been cancelled
This commit is contained in:
@@ -79,20 +79,6 @@ jobs:
|
|||||||
git pull --rebase origin main
|
git pull --rebase origin main
|
||||||
git push origin main
|
git push origin main
|
||||||
|
|
||||||
- name: Update charts
|
|
||||||
run: |
|
|
||||||
mkdir -p ~/.ssh
|
|
||||||
echo "${{ secrets.CHARTS_DEPLOY_KEY }}" > ~/.ssh/charts_deploy_key
|
|
||||||
chmod 600 ~/.ssh/charts_deploy_key
|
|
||||||
echo "StrictHostKeyChecking no" >> ~/.ssh/config
|
|
||||||
GIT_SSH_COMMAND="ssh -i ~/.ssh/charts_deploy_key" git clone ssh://git@git-ssh.lunarfront.tech/ryan/lunarfront-charts.git /tmp/charts
|
|
||||||
cd /tmp/charts
|
|
||||||
sed -i "s|image: registry.digitalocean.com/lunarfront/manager:.*|image: registry.digitalocean.com/lunarfront/manager:${{ steps.version.outputs.version }}|" manager/deployment.yaml
|
|
||||||
git config user.name "lunarfront-bot"
|
|
||||||
git config user.email "bot@lunarfront.tech"
|
|
||||||
git add manager/deployment.yaml
|
|
||||||
git commit -m "chore: update manager image to v${{ steps.version.outputs.version }}"
|
|
||||||
GIT_SSH_COMMAND="ssh -i ~/.ssh/charts_deploy_key" git push origin main
|
|
||||||
|
|
||||||
- name: Logout
|
- name: Logout
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user