diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index 75d7da08..851aeb0f 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -100,7 +100,7 @@ class DockerActionManager $runningDigest = $this->GetRepoDigestOfContainer($container->GetIdentifier()); $remoteDigest = $this->dockerHubManager->GetLatestDigestOfTag($container->GetContainerName(), $tag); - if ($runningDigest === $remoteDigest || $remoteDigest === null) { + if ($runningDigest === $remoteDigest || $remoteDigest === null || $runningDigest === null) { return new VersionEqualState(); } else { return new VersionDifferentState();