From 79d37118e0dc5eaad0067c426dad3ceb2f960e96 Mon Sep 17 00:00:00 2001 From: claude Date: Wed, 25 Mar 2026 13:26:11 +0100 Subject: [PATCH] chore: use pre-baked build images from cameleer-build-images Replace maven:3.9-eclipse-temurin-17 with cameleer-build:1 (includes Node.js 22, curl, jq). Replace docker:27 with cameleer-docker-builder:1 (includes git, curl, jq). Removes per-build tool installation steps. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3725f1e0..57d45f07 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,16 +14,11 @@ jobs: runs-on: ubuntu-latest if: github.event_name != 'delete' container: - image: maven:3.9-eclipse-temurin-17 + image: gitea.siegeln.net/cameleer/cameleer-build:1 + credentials: + username: cameleer + password: ${{ secrets.REGISTRY_TOKEN }} steps: - - name: Install Node.js 22 - run: | - apt-get update && apt-get install -y ca-certificates curl gnupg - mkdir -p /etc/apt/keyrings - curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg - echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" > /etc/apt/sources.list.d/nodesource.list - apt-get update && apt-get install -y nodejs - - uses: actions/checkout@v4 - name: Configure Gitea Maven Registry @@ -67,11 +62,13 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' container: - image: docker:27 + image: gitea.siegeln.net/cameleer/cameleer-docker-builder:1 + credentials: + username: cameleer + password: ${{ secrets.REGISTRY_TOKEN }} steps: - name: Checkout run: | - apk add --no-cache git git clone --depth=1 --branch=${GITHUB_REF_NAME} https://cameleer:${REGISTRY_TOKEN}@gitea.siegeln.net/${GITHUB_REPOSITORY}.git . env: REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} @@ -136,7 +133,6 @@ jobs: if: always() - name: Cleanup old container images run: | - apk add --no-cache curl jq API="https://gitea.siegeln.net/api/v1" AUTH="Authorization: token ${REGISTRY_TOKEN}" CURRENT_SHA="${{ github.sha }}"