From dc4d1fc7388db5968fef4175c3a5b6d16c5d21dd Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Oct 2026 20:35:57 +0000 Subject: [PATCH] CI: costruzione dell'immagine Docker a ogni verifica Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA --- .gitea/workflows/verifica.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitea/workflows/verifica.yml b/.gitea/workflows/verifica.yml index e3b9896..363bc25 100644 --- a/.gitea/workflows/verifica.yml +++ b/.gitea/workflows/verifica.yml @@ -35,3 +35,22 @@ jobs: name: risultati-prove path: out/prove/*.trx if-no-files-found: ignore + + immagine: + runs-on: ubuntu-latest + needs: prove + steps: + - uses: actions/checkout@v4 + + - name: Costruzione dell'immagine Docker (senza pubblicarla; le prove girano anche dentro la build) + run: | + docker version + docker build -f docker/Dockerfile \ + --build-arg VERSION=ci \ + --build-arg GIT_COMMIT="${GITHUB_SHA::12}" \ + -t febe:ci . + + - name: L'immagine parte e mostra la pagina di errore senza password + run: | + docker run --rm --entrypoint /usr/bin/chromium febe:ci --version + docker run --rm --entrypoint sh febe:ci -c 'locale -a | grep -i it_IT && ls /etc/chromium/policies/managed/'