Description
Observed
- See action example defined here: https://github.com/launchrctl/launchr/blob/main/example/actions/arguments/action.yaml
➜ launchr git:(main) pl example:arguments
Image "envvars:latest" exists locally
Total number of arguments passed to the script: 2
- Argument 1: ""
- Argument 2: false
- When executing action with options, these options are passed to command as arguments
command:
- sh
- /action/main.sh
- "{{ .firstoption }}"
- "{{ .secondoption }}"
- Meaning that their default/empty value is passed to command executed in container even if options are not passed
Expected
- Would be great that no option vlaue is passed to command executed in container when no option is used
➜ launchr git:(main) pl example:arguments
Image "envvars:latest" exists locally
Total number of arguments passed to the script: 0
Metadata
Metadata
Assignees
Labels
No labels