Fix arion exec
The service name was still hardcoded.
This commit is contained in:
parent
1726ef45f1
commit
c1e2e726c6
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