compose/pkg/e2e/fixtures/multiplatform/compose.yaml
Nicolas De Loof 7ff6748564 test: local multi-platform image must satisfy the missing pull policy
Regression test for #14007: with the containerd image store, a local
multi-platform image holding the requested non-native variant must be
used as-is by the default missing pull policy — compose used to inspect
the image without a platform, compare the host variant's platform fields
to the requested one, conclude the image is missing and try to pull the
(unpublished) tag.

The test fails on main and passes with #14011, whose platform check
resolves the requested platform against the locally available manifests.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-13 12:03:29 +02:00

5 lines
135 B
YAML

services:
repro:
image: compose-e2e-multiplatform-local-only:v1
platform: ${REQUESTED_PLATFORM}
command: ["uname", "-m"]