Fix condition for pushing to Docker registry
This commit is contained in:
parent
25a0489f7f
commit
6ccbf911b2
@ -219,7 +219,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
|
|||||||
if ($this->server->isProxyShouldRun()) {
|
if ($this->server->isProxyShouldRun()) {
|
||||||
dispatch(new ContainerStatusJob($this->server));
|
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->push_to_docker_registry();
|
||||||
}
|
}
|
||||||
$this->next(ApplicationDeploymentStatus::FINISHED->value);
|
$this->next(ApplicationDeploymentStatus::FINISHED->value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user