Fix condition for pushing to Docker registry

This commit is contained in:
Andras Bacsai 2023-11-22 14:25:55 +01:00
parent 25a0489f7f
commit 6ccbf911b2

View File

@ -219,7 +219,7 @@ public function handle(): void
if ($this->server->isProxyShouldRun()) {
dispatch(new ContainerStatusJob($this->server));
}
if ($this->application->docker_registry_image_name) {
if ($this->application->docker_registry_image_name && $this->application->build_pack !== 'dockerimage') {
$this->push_to_docker_registry();
}
$this->next(ApplicationDeploymentStatus::FINISHED->value);