fix: pass go base image through ci plan

This commit is contained in:
UniDesk Codex
2026-07-07 08:16:53 +08:00
parent 221f76a7ef
commit a75a5e160d
2 changed files with 13 additions and 0 deletions
+4
View File
@@ -504,6 +504,7 @@ function envReuseRecipeForLaneConfig(laneConfig, lane = "v02") {
const runtimeGoModCachePath = normalizeAbsolutePath(configured.runtimeGoModCachePath);
const runtimeGoBuildCachePath = normalizeAbsolutePath(configured.runtimeGoBuildCachePath);
const goToolchain = normalizeDeclarationString(configured.goToolchain);
const goBaseImage = normalizeDeclarationString(configured.goBaseImage);
if (!runtimeNodeModulesPath) throw new Error(`deploy.lanes.${lane}.envRecipe.runtimeNodeModulesPath must be absolute`);
const additionalEnvPaths = uniqueSorted(normalizeStringList(configured.additionalEnvPaths, []).map(normalizeRepoPath));
const launcherInputPaths = uniqueSorted([
@@ -527,6 +528,7 @@ function envReuseRecipeForLaneConfig(laneConfig, lane = "v02") {
runtimeGoModCachePath,
runtimeGoBuildCachePath,
goToolchain,
goBaseImage,
additionalEnvPaths,
launcherInputPaths,
downloadStack,
@@ -540,6 +542,7 @@ function envReuseRecipeForLaneConfig(laneConfig, lane = "v02") {
runtimeGoModCachePath,
runtimeGoBuildCachePath,
goToolchain,
goBaseImage,
additionalEnvPaths,
downloadStack,
hwpodAliases
@@ -554,6 +557,7 @@ function envReuseRecipeForService(recipe, model) {
runtimeGoModCachePath: _runtimeGoModCachePath,
runtimeGoBuildCachePath: _runtimeGoBuildCachePath,
goToolchain: _goToolchain,
goBaseImage: _goBaseImage,
...nodeRecipe
} = recipe;
return nodeRecipe;