ci: use internal cluster URL for git push to bypass HTTPS connection issue
This commit is contained in:
parent
b801b5c837
commit
c1e67665cc
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
run: |
|
||||
git config --global user.name "Gitea Action"
|
||||
git config --global user.email "action@gitea.com"
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITEA_TOKEN }}@git.techarvest.co.zw/fchinembiri/geocrop-platform..git
|
||||
git remote set-url origin http://x-access-token:${{ secrets.GITEA_TOKEN }}@gitea.geocrop.svc.cluster.local:3000/fchinembiri/geocrop-platform.git
|
||||
git add k8s/base/kustomization.yaml
|
||||
git commit -m "ci: update image tags to ${{ gitea.sha }} [skip ci]" || echo "No changes to commit"
|
||||
git push origin main
|
||||
|
|
|
|||
Loading…
Reference in New Issue