Merge pull request #4324 from JuliensForks/main

feat: add some new labels to every container
This commit is contained in:
Andras Bacsai
2024-12-18 12:55:33 +01:00
committed by GitHub
11 changed files with 68 additions and 46 deletions

View File

@@ -1693,7 +1693,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
return escapeDollarSign($value);
});
}
$labels = $labels->merge(defaultLabels($this->application->id, $this->application->uuid, $this->pull_request_id))->toArray();
$labels = $labels->merge(defaultLabels($this->application->id, $this->application->uuid, $this->application->project()->name, $this->application->name, $this->application->environment->name, $this->pull_request_id))->toArray();
// Check for custom HEALTHCHECK
if ($this->application->build_pack === 'dockerfile' || $this->application->dockerfile) {