bun init
Some checks failed
Build with Kaniko and Deploy / build-and-deploy (push) Has been cancelled
Some checks failed
Build with Kaniko and Deploy / build-and-deploy (push) Has been cancelled
This commit is contained in:
@@ -37,8 +37,8 @@ jobs:
|
||||
- name: Update infrastructure repository
|
||||
run: |
|
||||
# Клонируем инфра-репозиторий
|
||||
git clone https://${{ secrets.USER }}:${{ secrets.GITEA }}@gitea.apps.kopikopi.com.ru/examples/nginx-intrasture.git
|
||||
cd nginx-intrasture/apps/static-site
|
||||
git clone https://${{ secrets.USER }}:${{ secrets.GITEA }}@gitea.apps.kopikopi.com.ru/examples/nginx-intra.git
|
||||
cd nginx-intra/apps/static-site
|
||||
|
||||
# Простое решение: используем sed для изменения deployment.yaml
|
||||
NEW_IMAGE="harbor.apps.kopikopi.com.ru/drone/test:${{ steps.vars.outputs.sha_short }}"
|
||||
@@ -55,4 +55,4 @@ jobs:
|
||||
git config user.email "ci-cd@kopikopi.com.ru"
|
||||
git add deployment.yaml
|
||||
git commit -m "Update image to ${{ steps.vars.outputs.sha_short }}"
|
||||
git push
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user