chore: update default openclaw image (#13)

This commit is contained in:
Qingshan Chen
2026-03-26 21:05:29 +08:00
committed by GitHub
parent 34b95a1a41
commit ef3033ca9d
3 changed files with 7 additions and 3 deletions
@@ -58,7 +58,11 @@ func buildRuntimeConfig(instanceType, osType, osVersion string, registry, tag *s
"SUBFOLDER": "/",
}
case "openclaw":
config.Image = fmt.Sprintf("%s/%s:%s", defaultRegistry, "openclaw-desktop", defaultTag)
if (registry == nil || strings.TrimSpace(*registry) == "") && (tag == nil || strings.TrimSpace(*tag) == "") {
config.Image = defaultSystemImageSettings["openclaw"]
} else {
config.Image = fmt.Sprintf("%s/%s:%s", defaultRegistry, "openclaw-desktop", defaultTag)
}
case "debian":
config.Image = fmt.Sprintf("%s/%s:%s", defaultRegistry, "debian-desktop", defaultTag)
case "centos":
@@ -28,7 +28,7 @@ var supportedSystemImageTypes = map[string]string{
}
var defaultSystemImageSettings = map[string]string{
"openclaw": "ericpearlee/openclaw:v2026.3.13",
"openclaw": "ericpearlee/openclaw:v2026.3.24",
"ubuntu": "lscr.io/linuxserver/webtop:ubuntu-xfce",
"webtop": "lscr.io/linuxserver/webtop:ubuntu-xfce",
"debian": "docker.io/clawreef/debian-desktop:12",
@@ -8,7 +8,7 @@ import {
} from '../../services/systemSettingsService';
const IMAGE_TYPE_OPTIONS = [
{ value: 'openclaw', label: 'OpenClaw Desktop', defaultImage: 'ericpearlee/openclaw:v2026.3.13' },
{ value: 'openclaw', label: 'OpenClaw Desktop', defaultImage: 'ericpearlee/openclaw:v2026.3.24' },
{ value: 'ubuntu', label: 'Ubuntu Desktop', defaultImage: 'lscr.io/linuxserver/webtop:ubuntu-xfce' },
{ value: 'webtop', label: 'Webtop Desktop', defaultImage: 'lscr.io/linuxserver/webtop:ubuntu-xfce' },
{ value: 'debian', label: 'Debian Desktop', defaultImage: 'docker.io/clawreef/debian-desktop:12' },