Fix volume target, use the last part

Signed-off-by: Trung-DV <TrungDV.PMB@gmail.com>
This commit is contained in:
Trung-DV
2025-08-05 15:20:22 +07:00
parent f34225dfd6
commit 4f77bd4347

View File

@@ -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)) {