Merge pull request #33 from hercules-ci/fix-exec-hardcoded-serviceName
Fix arion exec
This commit is contained in:
commit
3f36a085e9
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ run_exec() {
|
|||
jq < "$docker_compose_yaml" \
|
||||
--arg serviceName "$serviceName" \
|
||||
-r \
|
||||
'.["x-arion"].serviceInfo.webserver.defaultExec | tostream | .[1] | select(.)'
|
||||
'.["x-arion"].serviceInfo[$serviceName].defaultExec | tostream | .[1] | select(.)'
|
||||
)
|
||||
docker-compose -f $docker_compose_yaml exec "$serviceName" "${default_args[@]}"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue