mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
Fix Kaniko action configuration
Some checks failed
CI/CD Pipeline / backend-lint (push) Failing after 32s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / frontend-lint (push) Successful in 1m37s
CI/CD Pipeline / frontend-build (push) Failing after 32s
CI/CD Pipeline / e2e-test (push) Has been skipped
Some checks failed
CI/CD Pipeline / backend-lint (push) Failing after 32s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / frontend-lint (push) Successful in 1m37s
CI/CD Pipeline / frontend-build (push) Failing after 32s
CI/CD Pipeline / e2e-test (push) Has been skipped
- Add missing dockerfile and context parameters for frontend and backend builds - Update Kaniko action from @master to @v0.9.0 for stability - Fix 'sed' and 'cat' command not found errors in CI pipeline
This commit is contained in:
parent
4e15576ef6
commit
6501e46b89
@ -43,7 +43,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build and push frontend with Kaniko
|
- name: Build and push frontend with Kaniko
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@v0.9.0
|
||||||
with:
|
with:
|
||||||
registry: registry.bk.glpx.pro
|
registry: registry.bk.glpx.pro
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
@ -52,6 +52,8 @@ jobs:
|
|||||||
tag: latest,${{ gitea.sha }}
|
tag: latest,${{ gitea.sha }}
|
||||||
cache: true
|
cache: true
|
||||||
cache_registry: registry.bk.glpx.pro/turash/turash-frontend
|
cache_registry: registry.bk.glpx.pro/turash/turash-frontend
|
||||||
|
context: bugulma/frontend
|
||||||
|
dockerfile: bugulma/frontend/Dockerfile
|
||||||
|
|
||||||
backend-lint:
|
backend-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -103,7 +105,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build and push backend with Kaniko
|
- name: Build and push backend with Kaniko
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@v0.9.0
|
||||||
with:
|
with:
|
||||||
registry: registry.bk.glpx.pro
|
registry: registry.bk.glpx.pro
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
@ -112,6 +114,8 @@ jobs:
|
|||||||
tag: latest,${{ gitea.sha }}
|
tag: latest,${{ gitea.sha }}
|
||||||
cache: true
|
cache: true
|
||||||
cache_registry: registry.bk.glpx.pro/turash/turash-backend
|
cache_registry: registry.bk.glpx.pro/turash/turash-backend
|
||||||
|
context: bugulma/backend
|
||||||
|
dockerfile: bugulma/backend/Dockerfile
|
||||||
|
|
||||||
e2e-test:
|
e2e-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user