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 }}"