From 229463a2e8aa05e077b20113974b5f2c4dda4157 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Tue, 17 Mar 2026 11:39:58 +0100 Subject: [PATCH] fix: switch deploy containers from bitnami/kubectl to alpine/k8s bitnami/kubectl lacks a package manager in the Gitea Actions runner, so tool installation fails. alpine/k8s:1.32.3 ships with kubectl, kustomize, git, jq, curl, and sed pre-installed. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9e53fa62..ecc4b474 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -170,11 +170,8 @@ jobs: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' container: - image: bitnami/kubectl:latest + image: alpine/k8s:1.32.3 steps: - - name: Install required tools - run: | - apt-get update && apt-get install -y --no-install-recommends git ca-certificates - name: Checkout run: | git clone --depth=1 --branch=${GITHUB_REF_NAME} https://cameleer:${REGISTRY_TOKEN}@gitea.siegeln.net/${GITHUB_REPOSITORY}.git . @@ -274,11 +271,8 @@ jobs: runs-on: ubuntu-latest if: github.ref != 'refs/heads/main' && github.event_name == 'push' container: - image: bitnami/kubectl:latest + image: alpine/k8s:1.32.3 steps: - - name: Install required tools - run: | - apt-get update && apt-get install -y --no-install-recommends git jq sed ca-certificates - name: Checkout run: | git clone --depth=1 --branch=${GITHUB_REF_NAME} https://cameleer:${REGISTRY_TOKEN}@gitea.siegeln.net/${GITHUB_REPOSITORY}.git . @@ -353,11 +347,8 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'delete' && github.event.ref_type == 'branch' container: - image: bitnami/kubectl:latest + image: alpine/k8s:1.32.3 steps: - - name: Install required tools - run: | - apt-get update && apt-get install -y --no-install-recommends curl jq ca-certificates - name: Configure kubectl run: | mkdir -p ~/.kube