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

- 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:
Damir Mukimov 2025-12-26 12:39:49 +01:00
parent 4e15576ef6
commit 6501e46b89
No known key found for this signature in database
GPG Key ID: 42996CC7C73BC750

View File

@ -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