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.
This commit is contained in:
Paul Schneider 2026-06-27 15:58:29 +01:00
commit c780ddfb07
2 changed files with 2 additions and 2 deletions

View file

@ -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