fix(fleet): update BASE_IMAGE test to allow digest-pinned image refs
This commit is contained in:
@@ -78,7 +78,7 @@ def test_build_service_base_image_matches_distro(distro, expected_build_base):
|
|||||||
config = _make_config(["http"], distro=distro)
|
config = _make_config(["http"], distro=distro)
|
||||||
compose = generate_compose(config)
|
compose = generate_compose(config)
|
||||||
fragment = compose["services"]["decky-01-http"]
|
fragment = compose["services"]["decky-01-http"]
|
||||||
assert fragment["build"]["args"]["BASE_IMAGE"] == expected_build_base
|
assert fragment["build"]["args"]["BASE_IMAGE"].startswith(expected_build_base)
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user