This commit is contained in:
TingluoHuang
2021-10-14 16:46:45 -04:00
parent 42e7359f5c
commit 0fac863568
2 changed files with 8 additions and 2 deletions

View File

@@ -132,7 +132,11 @@ async function run(): Promise<void> {
}
execArgs.push(execInput.jobContainer.containerId)
execArgs.push(execInput.fileName)
execArgs.push(execInput.arguments)
const args = JSON.stringify(execInput.arguments).split(' ')
core.debug(JSON.stringify(args))
execArgs.push(...args)
core.debug(JSON.stringify(execArgs))

View File

@@ -1153,7 +1153,9 @@ function run() {
}
execArgs.push(execInput.jobContainer.containerId);
execArgs.push(execInput.fileName);
execArgs.push(execInput.arguments);
const args = JSON.stringify(execInput.arguments).split(' ');
core.debug(JSON.stringify(args));
execArgs.push(...args);
core.debug(JSON.stringify(execArgs));
yield exec.exec('podman', execArgs);
}