mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
require image_tag and add %AIO_CHANNEL% variable
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
8e4678fe82
commit
6e17dec951
5 changed files with 22 additions and 5 deletions
|
|
@ -269,7 +269,7 @@ class ContainerDefinitionFetcher
|
|||
$init = $entry['init'];
|
||||
}
|
||||
|
||||
$imageTag = '';
|
||||
$imageTag = '%AIO_CHANNEL%';
|
||||
if (isset($entry['image_tag'])) {
|
||||
$imageTag = $entry['image_tag'];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue