From 02514b7f9cddd49a684d5eb100023081c0e39355 Mon Sep 17 00:00:00 2001 From: Khalil Date: Thu, 2 Jul 2026 07:38:33 +0000 Subject: [PATCH] ci: use explicit container directives with host network for all jobs --- .gitea/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index b7ccbf9..ed31439 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -28,7 +28,13 @@ jobs: build-and-push: needs: quality-and-security runs-on: ubuntu-latest + container: + image: docker:24-cli + options: -v /var/run/docker.sock:/var/run/docker.sock steps: + - name: Install git + run: apk add --no-cache git + - name: Checkout Code run: | git clone http://gitea-http-ci.gitea.svc.cluster.local:3000/${{ gitea.repository }}.git . @@ -52,6 +58,8 @@ jobs: deploy: needs: build-and-push runs-on: ubuntu-latest + container: + image: alpine/git:latest steps: - name: Clone GitOps Repo run: |