mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
Fix volume target, use the last part
Signed-off-by: Trung-DV <TrungDV.PMB@gmail.com>
This commit is contained in:
1 parent
f34225dfd6
commit
4f77bd4347
1 file changed
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user