ci: use explicit container directives with host network for all jobs
CI/CD Pipeline / quality-and-security (push) Successful in 9s
CI/CD Pipeline / build-and-push (push) Failing after 6m1s
CI/CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-07-02 07:38:33 +00:00
parent c989d2c189
commit 02514b7f9c
+8
View File
@@ -28,7 +28,13 @@ jobs:
build-and-push: build-and-push:
needs: quality-and-security needs: quality-and-security
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: docker:24-cli
options: -v /var/run/docker.sock:/var/run/docker.sock
steps: steps:
- name: Install git
run: apk add --no-cache git
- name: Checkout Code - name: Checkout Code
run: | run: |
git clone http://gitea-http-ci.gitea.svc.cluster.local:3000/${{ gitea.repository }}.git . git clone http://gitea-http-ci.gitea.svc.cluster.local:3000/${{ gitea.repository }}.git .
@@ -52,6 +58,8 @@ jobs:
deploy: deploy:
needs: build-and-push needs: build-and-push
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: alpine/git:latest
steps: steps:
- name: Clone GitOps Repo - name: Clone GitOps Repo
run: | run: |