From 85dd21a21e3f78d2fc3128655c96a8ca35c0febf Mon Sep 17 00:00:00 2001 From: Romain BOULLARD Date: Fri, 23 Jan 2026 16:59:10 +0100 Subject: [PATCH] Run in a container --- .gitea/workflows/ci.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 542a9b6..458122f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,20 +9,28 @@ on: env: DOCKER_TLS_CERTDIR: "/certs" - BASE_BUILDER_TAG: ${{ secrets.CI_REGISTRY }}/linuxbasebuilder:${{ github.ref_name }} - CPP_BUILDER_TAG: ${{ secrets.CI_REGISTRY }}/linuxcppbuilder:${{ github.ref_name }} - BIGFOOT_BUILDER_TAG: ${{ secrets.CI_REGISTRY }}/linuxbigfootbuilder:${{ github.ref_name }} - BIGFOOT_COVERAGE_BUILDER_TAG: ${{ secrets.CI_REGISTRY }}/linuxbigfootcoveragebuilder:${{ github.ref_name }} + BASE_BUILDER_TAG: ${{ variables.CI_REGISTRY_IMAGE }}/linuxbasebuilder:${{ github.ref_name }} + CPP_BUILDER_TAG: ${{ variables.CI_REGISTRY_IMAGE }}/linuxcppbuilder:${{ github.ref_name }} + BIGFOOT_BUILDER_TAG: ${{ variables.CI_REGISTRY_IMAGE }}/linuxbigfootbuilder:${{ github.ref_name }} + BIGFOOT_COVERAGE_BUILDER_TAG: ${{ variables.CI_REGISTRY_IMAGE }}/linuxbigfootcoveragebuilder:${{ github.ref_name }} jobs: build-base-builder: - runs-on: ubuntu-latest + runs-on: self-hosted timeout-minutes: 360 + container: + image: node:20-bullseye + options: --privileged services: docker: image: docker:28.5.1-dind options: --privileged steps: + - name: Install Docker CLI + run: | + apt-get update + apt-get install -y docker.io + - name: Login to the Container registry uses: docker/login-action@v2 with: