From 3d4cb95c809aef28c4c527435948c0aae5c2f3d2 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sun, 22 Mar 2026 00:03:11 +0900 Subject: [PATCH] CI: Interpose a template through an environment variable (#18624) --- .github/workflows/build-docker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index e1641e7a1..8ce9cc17d 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -267,7 +267,7 @@ jobs: set -euo pipefail # Extract the image and tags from the matrix variable - IFS=',' read -r BASE_IMAGE BASE_TAGS <<< "${{ matrix.image-mapping }}" + IFS=',' read -r BASE_IMAGE BASE_TAGS <<< "${IMAGE_MAPPING}" # Generate Dockerfile content cat < Dockerfile @@ -308,6 +308,7 @@ jobs: # Use the tag from the base image we just pushed; fall back to `latest` on dry-runs # since the base image isn't pushed to the registry. UV_BASE_TAG: ${{ needs.docker-plan.outputs.push == 'true' && needs.docker-publish-base.outputs.image-version || 'latest' }} + IMAGE_MAPPING: ${{ matrix.image-mapping }} - name: Extract metadata (tags, labels) for Docker id: meta