chore: improve update tag stage
Build & Push Docker Image (Backend) / build (push) Failing after 1m50s
Build & Push Docker Image (Backend) / build (push) Failing after 1m50s
This commit is contained in:
@@ -35,10 +35,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GIT_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git clone https://$GIT_TOKEN@gitea.panmodel.com/admin/lms-k8s.git
|
git clone https://admin:$GIT_TOKEN@gitea.panmodel.com/admin/lms-k8s.git
|
||||||
cd lms-k8s
|
cd lms-k8s
|
||||||
|
|
||||||
sed -i "s|satitprompunjai/lms-backend:.*|satitprompunjai/lms-backend:${{ github.sha }}|g" apps/backend/deployment.yaml
|
sed -i "s|satitprompunjai/lms-backend:.*|satitprompunjai/lms-backend:${{ gitea.sha }}|g" apps/backend/deployment.yaml
|
||||||
|
|
||||||
git config user.name "lms-backend-ci"
|
git config user.name "lms-backend-ci"
|
||||||
git config user.email "ci@panmodel.com"
|
git config user.email "ci@panmodel.com"
|
||||||
|
|||||||
Reference in New Issue
Block a user