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 <arajan@redhat.com>
This commit is contained in:
Aditya R
2022-07-12 19:52:06 +05:30
parent a51a63023c
commit 27e12aa074

View File

@ -1 +1,2 @@
ARG TARGETPLATFORM
FROM --platform=$TARGETPLATFORM alpine FROM --platform=$TARGETPLATFORM alpine