ci: switch Docker build to Kaniko (no daemon required)
Build and Deploy Chitfund / build-backend (push) Failing after 9s Details
Build and Deploy Chitfund / build-frontend (push) Failing after 1s Details

This commit is contained in:
deepkoluguri 2026-05-11 20:41:26 +00:00
parent f36d150c08
commit 0f42b53ab4
1 changed files with 19 additions and 19 deletions

View File

@ -4,35 +4,35 @@ on: [push]
jobs: jobs:
build-backend: build-backend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: gcr.io/kaniko-project/executor:debug
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Backend - name: Build and push Backend
uses: docker/build-push-action@v4 run: |
with: /kaniko/executor \
context: ./backend --context=${{ gitea.workspace }}/backend \
push: true --dockerfile=${{ gitea.workspace }}/backend/Dockerfile \
tags: 192.168.8.250:5000/chitfund-backend:latest --destination=192.168.8.250:5000/chitfund-backend:latest \
# Local registry is insecure --insecure \
labels: | --skip-tls-verify \
org.opencontainers.image.source=${{ gitea.repository_url }} --label org.opencontainers.image.source=${{ gitea.repository_url }}
build-frontend: build-frontend:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: gcr.io/kaniko-project/executor:debug
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Frontend - name: Build and push Frontend
uses: docker/build-push-action@v4 run: |
with: /kaniko/executor \
context: ./luckychit --context=${{ gitea.workspace }}/luckychit \
push: true --dockerfile=${{ gitea.workspace }}/luckychit/Dockerfile \
tags: 192.168.8.250:5000/chitfund-frontend:latest --destination=192.168.8.250:5000/chitfund-frontend:latest \
--insecure \
--skip-tls-verify