mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-12 23:56:44 +00:00
Docker and K8s: Fix shell arguments when split by the runner (#115)
* Docker: Fix shell arguments when split by the runner * Add shlex to k8s hook as well
This commit is contained in:
@@ -72,7 +72,7 @@ describe('Run container step', () => {
|
||||
runContainerStepData.args.entryPoint = 'bash'
|
||||
runContainerStepData.args.entryPointArgs = [
|
||||
'-c',
|
||||
'if [[ -z $NODE_ENV ]]; then exit 1; fi'
|
||||
"'if [[ -z $NODE_ENV ]]; then exit 1; fi'"
|
||||
]
|
||||
await expect(
|
||||
runContainerStep(runContainerStepData.args)
|
||||
|
||||
Reference in New Issue
Block a user