Fix volume target, use the last part
Signed-off-by: Trung-DV <TrungDV.PMB@gmail.com>
This commit is contained in:
parent
f34225dfd6
commit
4f77bd4347
1 changed files with 1 additions and 1 deletions
|
|
@ -3420,7 +3420,7 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
|
|||
}
|
||||
if (is_string($volume)) {
|
||||
$source = str($volume)->before(':');
|
||||
$target = str($volume)->after(':')->beforeLast(':');
|
||||
$target = str($volume)->afterLast(':');
|
||||
$source = $name;
|
||||
$volume = "$source:$target";
|
||||
} elseif (is_array($volume)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue