summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya R <arajan@redhat.com>2022-07-12 19:52:06 +0530
committerMatthew Heon <matthew.heon@pm.me>2022-07-26 13:04:47 -0400
commitffd2e6df9dd624865b3aebe024e1ccfa5f554895 (patch)
tree26032241cc927bfbca99d9aa30f23909755b9994
parentca4630ede6d50e3417502a7d31ef60576f371b8c (diff)
downloadpodman-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-platform1
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