ci: fix workspace path - use gitea.workspace expression instead of env var
Build and Deploy Chitfund / build-backend (push) Failing after 14s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 9s Details

This commit is contained in:
deepkoluguri 2026-05-11 21:25:31 +00:00
parent a74a035912
commit 2dbf55bff1
1 changed files with 6 additions and 6 deletions

View File

@ -13,10 +13,10 @@ jobs:
- name: Build and push Backend (Kaniko)
run: |
docker run --rm \
-v $GITEA_WORKSPACE:/workspace \
-v "${{ gitea.workspace }}/backend":/workspace \
gcr.io/kaniko-project/executor:latest \
--context=/workspace/backend \
--dockerfile=/workspace/backend/Dockerfile \
--context=dir:///workspace \
--dockerfile=/workspace/Dockerfile \
--destination=192.168.8.250:5000/chitfund-backend:latest \
--insecure \
--skip-tls-verify
@ -32,10 +32,10 @@ jobs:
- name: Build and push Frontend (Kaniko)
run: |
docker run --rm \
-v $GITEA_WORKSPACE:/workspace \
-v "${{ gitea.workspace }}/luckychit":/workspace \
gcr.io/kaniko-project/executor:latest \
--context=/workspace/luckychit \
--dockerfile=/workspace/luckychit/Dockerfile \
--context=dir:///workspace \
--dockerfile=/workspace/Dockerfile \
--destination=192.168.8.250:5000/chitfund-frontend:latest \
--insecure \
--skip-tls-verify