-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: can now resolves args from all stages #1160
feat: can now resolves args from all stages #1160
Conversation
1c59b8e
to
a1a129d
Compare
a1a129d
to
428318b
Compare
@tejal29 I'm stuck here with this error on Travis CI :
|
8c53b05
to
bef5d35
Compare
Something else to add @tejal29 : Taking this Dockerfile :
Using
Will use MetaArg
Will return error because ARG On Kaniko even :
or
Will use MetaArg I didn't find a way to do something 100% similar because Here it would be good if This way i can then remove the check of empty string on opts.BuildArgs I did here : https://github.com/GoogleContainerTools/kaniko/pull/1160/files#diff-b651d79bcb38f3023c41dfb9e42f6236R108 , and it should work same way than Docker. What do you think ? |
@JordanGoasdoue Looks like there was a new minikube release yesterday. I will either pin the minikube version to 1.18 or wait for minikube team to suggest |
@JordanGoasdoue Can you please rebase from master. |
bef5d35
to
36dce3e
Compare
36dce3e
to
ed883b9
Compare
Sure, we can. But my big worry is we have always supported empty args for a while now and removing that might cause a backward incompatible change for existing users which use this Before doing that, we need to take appropriate steps like
Since no one has yet complained about this i am ok to not address in this PR. |
Yes we could do that, but first we should see impact of such a change on the code, and yes it's definetely not urgent. |
re-opening for travis to pick up this PR. |
Has this been tested with
Without specifying |
Fixes #747
Description
feat: can now resolves args from all stages
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes
Release Notes
Kaniko now resolves args from all stages