I'm about to lose my mind.
I'm reading the doc: https://cloud.google.com/sdk/gcloud/reference/builds/submit?hl=it#--pack
And here it says that use --pack=[builder=BUILDER],[env=ENV],[image=IMAGE]
To pass environment variables to the builder use the optional "env" key/value argument where value is a list of key values using escaping if necessary.
So I implement what I understand from the documentation as,
gcloud builds submit —pack env="CONFIGURATION=production" --tag gcr.io/web-client --timeout=15000s
But it throws error as:
ERROR: (gcloud.builds.submit) unrecognized arguments: env=CONFIGURATION=production
So what is the way to pass env variable?