From c780ddfb071fe569b60c3ded4f791d02bb2a2b9c Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 27 Jun 2026 15:58:29 +0100 Subject: [PATCH] docker: pin build-env image to a versioned tag Replace ':latest' with ':debian12-dotnet10-android36-v1' in both Dockerfiles so the build is reproducible. The build-env image is constructed from /home/paul/Workspace/dotnet-android- build-image and pushed to Docker Hub under that tag. When the build-env image is rebuilt (new dotnet SDK, new Android SDK, etc.), bump this tag and rebuild the image locally before re-running the workflows. The two Dockerfiles serve different GitHub Actions workflows: - Dockerfile: builds everything including PostIt.Android; used by .github/workflows/docker-publish-android.yml to extract the signed APK. - Dockerfile.backend: builds only Yavsc.Org; used by .github/workflows/docker-publish-backend.yml to produce the pazof/yavsc production image. --- Dockerfile | 2 +- Dockerfile.backend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 053aef03..904743dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Utilisation de votre image globale pour le build et l'exécution -FROM pazof/yavsc-build-env:latest AS build-env +FROM pazof/yavsc-build-env:debian12-dotnet10-android36-v1 AS build-env WORKDIR /src diff --git a/Dockerfile.backend b/Dockerfile.backend index 10b1d0ca..d9415606 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -1,5 +1,5 @@ # Utilisation de votre image globale pour le build et l'exécution -FROM pazof/yavsc-build-env:latest AS build-env +FROM pazof/yavsc-build-env:debian12-dotnet10-android36-v1 AS build-env WORKDIR /src