diff options
author | Aditya R <arajan@redhat.com> | 2022-07-12 19:52:06 +0530 |
---|---|---|
committer | Aditya R <arajan@redhat.com> | 2022-07-12 19:52:11 +0530 |
commit | 27e12aa074dd120133970292990a51aac0b87f08 (patch) | |
tree | 76106cf8421327a272eaff92aeb00df4c34cdccc /test | |
parent | a51a63023c773afae601628fbb89461249c5a043 (diff) | |
download | podman-27e12aa074dd120133970292990a51aac0b87f08.tar.gz podman-27e12aa074dd120133970292990a51aac0b87f08.tar.bz2 podman-27e12aa074dd120133970292990a51aac0b87f08.zip |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/build/Containerfile.with-platform | 1 |
1 files changed, 1 insertions, 0 deletions
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 |