fix: use DooD (Docker-out-of-Docker) and external URLs for CI
Build and Push Docker Images / build (worker) (push) Failing after 37s
Details
Build and Push Docker Images / build (api) (push) Failing after 41s
Details
Build and Push Docker Images / build (web) (push) Failing after 47s
Details
Build and Push Docker Images / deploy (push) Has been skipped
Details
Build and Push Docker Images / build (worker) (push) Failing after 37s
Details
Build and Push Docker Images / build (api) (push) Failing after 41s
Details
Build and Push Docker Images / build (web) (push) Failing after 47s
Details
Build and Push Docker Images / deploy (push) Has been skipped
Details
This commit is contained in:
parent
54eb14c930
commit
9441c0d37e
|
|
@ -63,8 +63,8 @@ jobs:
|
|||
run: |
|
||||
git config --global user.name "Gitea Action"
|
||||
git config --global user.email "action@gitea.com"
|
||||
# Ensure we push to the correct Gitea instance
|
||||
git remote set-url origin http://x-access-token:${{ secrets.GITEA_TOKEN }}@gitea.geocrop.svc.cluster.local:3000/fchinembiri/geocrop-platform.git
|
||||
# Use external URL for reliability
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITEA_TOKEN }}@git.techarvest.co.zw/fchinembiri/geocrop-platform..git
|
||||
git add k8s/base/kustomization.yaml
|
||||
git commit -m "ci: update image tags to ${{ github.sha }} [skip ci]" || echo "No changes to commit"
|
||||
git push origin main
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
trigger ci v5
|
||||
trigger ci v6
|
||||
|
|
|
|||
|
|
@ -24,13 +24,8 @@ data:
|
|||
host: ""
|
||||
port: 0
|
||||
container:
|
||||
type: kubernetes
|
||||
kubernetes:
|
||||
namespace: geocrop
|
||||
service_account_name: gitea-runner-sa
|
||||
privileged: false
|
||||
pull_policy: IfNotPresent
|
||||
type: docker
|
||||
options: "--network host"
|
||||
force_pull: true
|
||||
|
||||
valid_volumes:
|
||||
- "/certs/client"
|
||||
|
|
|
|||
|
|
@ -38,9 +38,16 @@ spec:
|
|||
- name: config
|
||||
mountPath: /config.yaml
|
||||
subPath: config.yaml
|
||||
- name: docker-sock
|
||||
mountPath: /var/run/docker.sock
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: runner-data
|
||||
emptyDir: {}
|
||||
- name: config
|
||||
configMap:
|
||||
name: gitea-runner-config
|
||||
- name: docker-sock
|
||||
hostPath:
|
||||
path: /var/run/docker.sock
|
||||
type: Socket
|
||||
|
|
|
|||
Loading…
Reference in New Issue