CI: costruzione dell'immagine Docker a ogni verifica
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
1 file changed
+19
@@ -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/'
|
||||
Reference in new issue
Block a user