Kaniko build on Google Cloud Build doesn't include --target parameter #3399
Labels
area/build
build/gcb
build/kaniko
good first issue
Good for newcomers
kind/bug
Something isn't working
priority/p2
May take a couple of releases
Expected behavior
When scheduling a Kaniko build on GCB, the artifact's Target parameter gets passed as an argument to the Kaniko executor on GCB, just like when building it in-cluster.
Actual behavior
The Kaniko build spec function doesn't include code to create a
--target
parameter (while the respective method for in-cluster builds does).The tests for the GCB Kaniko build spec don't include the Target parameter either.
Information
The GCB build details shows these arguments:
The text was updated successfully, but these errors were encountered: