From 25ab46e69a8c60a53e7e86671262653889d18053 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Thu, 2 May 2024 17:26:36 +0200 Subject: [PATCH] change base image for k8s conformity --- infrastructure/gitea/actions.deployment.yaml | 3 +++ infrastructure/gitea/kustomization.yaml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/infrastructure/gitea/actions.deployment.yaml b/infrastructure/gitea/actions.deployment.yaml index 82d55da..7b354ab 100644 --- a/infrastructure/gitea/actions.deployment.yaml +++ b/infrastructure/gitea/actions.deployment.yaml @@ -13,6 +13,7 @@ spec: spec: containers: - name: actions-runner + hostname: kube-runner image: actions-runner securityContext: privileged: true # Add this line to allow running Docker @@ -31,3 +32,5 @@ spec: secretKeyRef: name: actions-runner-secret key: runner-token + - name: GITEA_RUNNER_LABELS + value: k8s diff --git a/infrastructure/gitea/kustomization.yaml b/infrastructure/gitea/kustomization.yaml index 1e5dccf..88fd8f7 100644 --- a/infrastructure/gitea/kustomization.yaml +++ b/infrastructure/gitea/kustomization.yaml @@ -15,8 +15,8 @@ namespace: gitea images: - name: actions-runner - newName: gitea/act_runner - newTag: 0.2.10 + newName: ghcr.io/christopherhx/gitea-actions-runner + newTag: v0.0.11 helmCharts: