We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All default values for all args got passed to the Skaffold command, thus some of the commands fails with some of these arguments..
Skaffold
ex. diagnose or deploy fails when receives --cache-file argument and exit with code 127 with error "unknown flag: --cache-file"
diagnose
deploy
--cache-file
code 127
unknown flag: --cache-file
root@docker-desktop:/Users/myuser/myrepo# ./bin/skaffold deploy --cache-file=/Users/myuser/myrepo/.skaffold/cache --filename=skaffold.yaml --verbosity=warning unknown flag: --cache-file See 'skaffold deploy --help' for usage.
A solution would be extracting all available args from --help and match it with passed+default values, something like...
const command_help = await exec(Binaries.SKAFFOLD, command, '--help') const argsRegex = /(--\S+|-[a-zA-Z]),?\s?(\S+)?: (.+)/gm;
The text was updated successfully, but these errors were encountered:
I am also running into this issue with or without the cache: false configured.
cache: false
- name: Run Skaffold Production Rendering uses: hiberbee/[email protected] with: command: render profile: production
Sorry, something went wrong.
vladyslavvolkov
No branches or pull requests
All default values for all args got passed to the
Skaffold
command, thus some of the commands fails with some of these arguments..ex.
diagnose
ordeploy
fails when receives--cache-file
argument and exit withcode 127
with error "unknown flag: --cache-file
"A solution would be extracting all available args from --help and match it with passed+default values, something like...
The text was updated successfully, but these errors were encountered: