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
No known key found for this signature in database
GPG Key ID: 8E5A8A19DF7C8673
1 changed files with 1 additions and 0 deletions

View File

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