fix: inject Gitea IP into /etc/hosts for DNS resolution
Build and Push Docker Images / build (web) (push) Failing after 18s Details
Build and Push Docker Images / build (api) (push) Failing after 18s Details
Build and Push Docker Images / build (worker) (push) Failing after 11s Details
Build and Push Docker Images / deploy (push) Has been skipped Details

This commit is contained in:
fchinembiri 2026-05-08 17:30:30 +02:00
parent 07be3dc43f
commit d43ec79431
2 changed files with 11 additions and 5 deletions

View File

@ -16,11 +16,14 @@ jobs:
matrix: matrix:
component: [worker, api, web] component: [worker, api, web]
steps: steps:
- name: Fix DNS
run: |
echo "10.43.224.21 gitea.geocrop.svc.cluster.local" >> /etc/hosts
echo "10.43.224.21 git.techarvest.co.zw" >> /etc/hosts
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: fchinembiri/geocrop-platform
url: https://git.techarvest.co.zw
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
- name: Set up Docker config - name: Set up Docker config
@ -44,11 +47,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- name: Fix DNS
run: |
echo "10.43.224.21 gitea.geocrop.svc.cluster.local" >> /etc/hosts
echo "10.43.224.21 git.techarvest.co.zw" >> /etc/hosts
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: fchinembiri/geocrop-platform
url: https://git.techarvest.co.zw
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
- name: Update Manifests - name: Update Manifests

View File

@ -1 +1 @@
trigger ci v12 trigger ci v13