ci: fix workspace path - use gitea.workspace expression instead of env var
This commit is contained in:
parent
a74a035912
commit
2dbf55bff1
|
|
@ -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
|
||||
Loading…
Reference in New Issue