@@ -18,7 +18,8 @@ class BuildsConfig:
1818
1919 enabled : bool = False
2020 build_output_image_prefix : str | None = None
21- vscodium_python_run_image : str | None = None
21+ build_builder_image : str | None = None
22+ build_run_image : str | None = None
2223 build_strategy_name : str | None = None
2324 push_secret_name : str | None = None
2425 buildrun_retention_after_failed : timedelta | None = None
@@ -32,7 +33,8 @@ def from_env(cls) -> "BuildsConfig":
3233 """Create a config from environment variables."""
3334 enabled = os .environ .get ("IMAGE_BUILDERS_ENABLED" , "false" ).lower () == "true"
3435 build_output_image_prefix = os .environ .get ("BUILD_OUTPUT_IMAGE_PREFIX" )
35- vscodium_python_run_image = os .environ .get ("BUILD_VSCODIUM_PYTHON_RUN_IMAGE" )
36+ build_builder_image = os .environ .get ("BUILD_BUILDER_IMAGE" )
37+ build_run_image = os .environ .get ("BUILD_RUN_IMAGE" )
3638 build_strategy_name = os .environ .get ("BUILD_STRATEGY_NAME" )
3739 push_secret_name = os .environ .get ("BUILD_PUSH_SECRET_NAME" )
3840 buildrun_retention_after_failed_seconds = int (os .environ .get ("BUILD_RUN_RETENTION_AFTER_FAILED_SECONDS" ) or "0" )
@@ -76,7 +78,8 @@ def from_env(cls) -> "BuildsConfig":
7678 return cls (
7779 enabled = enabled or False ,
7880 build_output_image_prefix = build_output_image_prefix or None ,
79- vscodium_python_run_image = vscodium_python_run_image or None ,
81+ build_builder_image = build_builder_image ,
82+ build_run_image = build_run_image ,
8083 build_strategy_name = build_strategy_name or None ,
8184 push_secret_name = push_secret_name or None ,
8285 buildrun_retention_after_failed = buildrun_retention_after_failed ,
0 commit comments