From 27e12aa074dd120133970292990a51aac0b87f08 Mon Sep 17 00:00:00 2001 From: Aditya R Date: Tue, 12 Jul 2022 19:52:06 +0530 Subject: test,manifest-run: declare TARGETPLATFORM before using it As part of fix for https://github.com/openshift/imagebuilder/issues/231 `FROM` does not expands `ARGS` which are not declared so `TARGETPLATFORM` Note: I think a patch should be added at imagebuilder to allow using inbuilt ARGS in FROM without declaring it as well but it is something to be discussed so lets declare it manually in our tests [NO NEW TESTS NEEDED] [NO TESTS NEEDED] Signed-off-by: Aditya R --- test/e2e/build/Containerfile.with-platform | 1 + 1 file changed, 1 insertion(+) (limited to 'test/e2e/build') diff --git a/test/e2e/build/Containerfile.with-platform b/test/e2e/build/Containerfile.with-platform index 3bb585a0a..0b030d13c 100644 --- a/test/e2e/build/Containerfile.with-platform +++ b/test/e2e/build/Containerfile.with-platform @@ -1 +1,2 @@ +ARG TARGETPLATFORM FROM --platform=$TARGETPLATFORM alpine -- cgit v1.2.3-54-g00ecf