mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 15:00:09 +00:00
require image_tag and add %AIO_CHANNEL% variable
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -49,7 +49,7 @@ class DockerActionManager
|
||||
|
||||
private function BuildImageName(Container $container) : string {
|
||||
$tag = $container->GetImageTag();
|
||||
if ($tag === '') {
|
||||
if ($tag === '%AIO_CHANNEL%') {
|
||||
$tag = $this->GetCurrentChannel();
|
||||
}
|
||||
return $container->GetContainerName() . ':' . $tag;
|
||||
@@ -100,7 +100,7 @@ class DockerActionManager
|
||||
public function GetContainerUpdateState(Container $container) : IContainerState
|
||||
{
|
||||
$tag = $container->GetImageTag();
|
||||
if ($tag === '') {
|
||||
if ($tag === '%AIO_CHANNEL%') {
|
||||
$tag = $this->GetCurrentChannel();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user