The Wayback Machine - https://web.archive.org/web/20201021060807/https://github.com/GoogleContainerTools/kaniko/issues/1231
Skip to content
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

--label argument does not support strings with spaces #1231

Open
zanechua opened this issue May 5, 2020 · 3 comments
Open

--label argument does not support strings with spaces #1231

zanechua opened this issue May 5, 2020 · 3 comments

Comments

@zanechua
Copy link

@zanechua zanechua commented May 5, 2020

Actual behavior
Use --label="test string" and builds fail

Expected behavior
Build proceeds normally

To Reproduce
Steps to reproduce the behavior:

  1. Add --label="test string" to as an argument
@ffahri
Copy link
Contributor

@ffahri ffahri commented May 18, 2020

Hey @zanechua label argument expects key=value format

--label key=value

Could you share your fail message it might be because of that

@zanechua
Copy link
Author

@zanechua zanechua commented May 19, 2020

/kaniko/executor --context /builds/app/backend --dockerfile /builds/app/backend/Dockerfile --label com.gitlab.ci.user='Zane J. Chua'
Error: unknown command "J." for "executor"
@nikilp
Copy link

@nikilp nikilp commented Aug 1, 2020

I experience the same issue. @zanechua did you find a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.