@@ -745,7 +745,6 @@ private function create_application(Request $request, $type)
745
745
$ application ->destination_type = $ destination ->getMorphClass ();
746
746
$ application ->environment_id = $ environment ->id ;
747
747
$ application ->settings ->is_build_server_enabled = $ useBuildServer ;
748
-
749
748
$ application ->save ();
750
749
$ application ->refresh ();
751
750
if (! $ application ->settings ->is_container_label_readonly_enabled ) {
@@ -842,6 +841,7 @@ private function create_application(Request $request, $type)
842
841
$ application ->environment_id = $ environment ->id ;
843
842
$ application ->source_type = $ githubApp ->getMorphClass ();
844
843
$ application ->source_id = $ githubApp ->id ;
844
+ $ application ->settings ->is_build_server_enabled = $ useBuildServer ;
845
845
$ application ->save ();
846
846
$ application ->refresh ();
847
847
if (! $ application ->settings ->is_container_label_readonly_enabled ) {
@@ -934,6 +934,7 @@ private function create_application(Request $request, $type)
934
934
$ application ->destination_id = $ destination ->id ;
935
935
$ application ->destination_type = $ destination ->getMorphClass ();
936
936
$ application ->environment_id = $ environment ->id ;
937
+ $ application ->settings ->is_build_server_enabled = $ useBuildServer ;
937
938
$ application ->save ();
938
939
$ application ->refresh ();
939
940
if (! $ application ->settings ->is_container_label_readonly_enabled ) {
@@ -1013,7 +1014,7 @@ private function create_application(Request $request, $type)
1013
1014
$ application ->destination_id = $ destination ->id ;
1014
1015
$ application ->destination_type = $ destination ->getMorphClass ();
1015
1016
$ application ->environment_id = $ environment ->id ;
1016
-
1017
+ $ application -> settings -> is_build_server_enabled = $ useBuildServer ;
1017
1018
$ application ->git_repository = 'coollabsio/coolify ' ;
1018
1019
$ application ->git_branch = 'main ' ;
1019
1020
$ application ->save ();
@@ -1071,7 +1072,7 @@ private function create_application(Request $request, $type)
1071
1072
$ application ->destination_id = $ destination ->id ;
1072
1073
$ application ->destination_type = $ destination ->getMorphClass ();
1073
1074
$ application ->environment_id = $ environment ->id ;
1074
-
1075
+ $ application -> settings -> is_build_server_enabled = $ useBuildServer ;
1075
1076
$ application ->git_repository = 'coollabsio/coolify ' ;
1076
1077
$ application ->git_branch = 'main ' ;
1077
1078
$ application ->save ();
0 commit comments