diff options
author | Aditya R <arajan@redhat.com> | 2022-07-12 19:52:06 +0530 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-07-26 13:04:47 -0400 |
commit | ffd2e6df9dd624865b3aebe024e1ccfa5f554895 (patch) | |
tree | 26032241cc927bfbca99d9aa30f23909755b9994 | |
parent | ca4630ede6d50e3417502a7d31ef60576f371b8c (diff) | |
download | podman-ffd2e6df9dd624865b3aebe024e1ccfa5f554895.tar.gz podman-ffd2e6df9dd624865b3aebe024e1ccfa5f554895.tar.bz2 podman-ffd2e6df9dd624865b3aebe024e1ccfa5f554895.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>
-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 |