diff --git a/app/Http/Livewire/Project/Application/General.php b/app/Http/Livewire/Project/Application/General.php index afe1b62dd..acc377094 100644 --- a/app/Http/Livewire/Project/Application/General.php +++ b/app/Http/Livewire/Project/Application/General.php @@ -76,6 +76,9 @@ class General extends Component ]; + public function updatedApplicationBuildPack(){ + $this->submit(); + } public function instantSave() { // @TODO: find another way - if possible @@ -125,6 +128,12 @@ class General extends Component { try { $this->validate(); + if (data_get($this->application,'build_pack') === 'dockerimage') { + $this->validate([ + 'application.docker_registry_image_name' => 'required', + 'application.docker_registry_image_tag' => 'required', + ]); + } if (data_get($this->application, 'fqdn')) { $domains = Str::of($this->application->fqdn)->trim()->explode(',')->map(function ($domain) { return Str::of($domain)->trim()->lower(); diff --git a/app/Http/Livewire/Project/New/PublicGitRepository.php b/app/Http/Livewire/Project/New/PublicGitRepository.php index ebcbb8253..f1f4e9833 100644 --- a/app/Http/Livewire/Project/New/PublicGitRepository.php +++ b/app/Http/Livewire/Project/New/PublicGitRepository.php @@ -72,10 +72,14 @@ class PublicGitRepository extends Component public function load_branch() { try { - $this->branch_found = false; $this->validate([ 'repository_url' => 'required|url' ]); + } catch (\Throwable $e) { + return handleError($e, $this); + } + try { + $this->branch_found = false; $this->get_git_source(); $this->get_branch(); $this->selected_branch = $this->git_branch; diff --git a/config/sentry.php b/config/sentry.php index aae1119e5..48463cf03 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ return [ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.75', + 'release' => '4.0.0-beta.76', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 2d7480b05..5c888f006 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@ dockerfile)
- + @@ -73,8 +73,8 @@
@else
- - + +
@endif diff --git a/resources/views/livewire/project/new/public-git-repository.blade.php b/resources/views/livewire/project/new/public-git-repository.blade.php index 78f7742c9..37459187b 100644 --- a/resources/views/livewire/project/new/public-git-repository.blade.php +++ b/resources/views/livewire/project/new/public-git-repository.blade.php @@ -1,13 +1,13 @@

Create a new Application

Deploy any public Git repositories.
-
+
- - + Check repository
@@ -16,10 +16,9 @@
Rate Limit
+ helper="Rate limit remaining: {{ $rate_limit_remaining }}
Rate limit reset at: {{ $rate_limit_reset }} UTC" />
@endif -

Details

@if ($git_source === 'other') diff --git a/resources/views/livewire/project/new/select.blade.php b/resources/views/livewire/project/new/select.blade.php index a7693de0d..2aa62e83e 100644 --- a/resources/views/livewire/project/new/select.blade.php +++ b/resources/views/livewire/project/new/select.blade.php @@ -25,7 +25,7 @@ Public Repository
- You can deploy any kind of public repositories from the supported git servers. + You can deploy any kind of public repositories from the supported git providers.
diff --git a/versions.json b/versions.json index 4f08614b8..7f8807194 100644 --- a/versions.json +++ b/versions.json @@ -4,7 +4,7 @@ "version": "3.12.36" }, "v4": { - "version": "4.0.0-beta.75" + "version": "4.0.0-beta.76" } } }