Repository navigation
Keep default for repeated arg in multistage builds - #1910
Conversation
Signed-off-by: Christian Kleinewaechter <christian.kleinewaechter@vitroconnect.de>
|
The E2E test failures seem to be unrelated to this PR and seem to be caused by failure of ttl.sh with this image name. Changing the name in the test make it work. This failure also occurs in other PRs like #1908, see for example https://github.com/fabric8io/docker-maven-plugin/actions/runs/22889132708/job/67123930078?pr=1908#step:6:1037 This failure seems to be due to some corruption on ttl.sh with exactly this image name and tag combination. changing the ttl to 30m works. |
|
|
The remaining E2E failure on MacOS V27 looks also unrelated to me. The MacOS tests take much longer, maybe in this environment the 10s timeout for postgres startup in it-properties is to tight. |



Using ARG repeatedly in multistage build does not keep default values. For example running docker:build on
results in
because the default for BASE_IMAGE is lost. Use case for repeated ARG for example is adding labels to the generated final image.
This is probably also the cause for issue #1573