@or3/cloud 0.1.60 → 0.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +5 -7
- package/package.json +4 -4
package/dist/cli.mjs
CHANGED
|
@@ -30,7 +30,7 @@ import { fileURLToPath } from "node:url";
|
|
|
30
30
|
import { createGunzip } from "node:zlib";
|
|
31
31
|
var execFile = promisify(execFileCallback);
|
|
32
32
|
var PACKAGE_ROOT = resolve(fileURLToPath(new URL("../", import.meta.url)));
|
|
33
|
-
var PACKAGE_VERSION = "0.1.
|
|
33
|
+
var PACKAGE_VERSION = "0.1.62";
|
|
34
34
|
var IMAGE_REPOSITORY = "ghcr.io/saluana/or3-chat";
|
|
35
35
|
var ASSET_ROOT = resolve(fileURLToPath(new URL("../assets/", import.meta.url)));
|
|
36
36
|
var STATE_SCHEMA_VERSION = 1;
|
|
@@ -1258,12 +1258,10 @@ async function dockerDaemonArchitecture() {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
async function assertSupportedHostArchitecture(image) {
|
|
1260
1260
|
const hostArch = await dockerDaemonArchitecture();
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
return;
|
|
1266
|
-
}
|
|
1261
|
+
const local = await run("docker", ["image", "inspect", "--format", "{{.Architecture}}", image]);
|
|
1262
|
+
if (local.ok && local.stdout.trim()) {
|
|
1263
|
+
assertSupportedArchitecture({ architecture: local.stdout.trim() }, hostArch);
|
|
1264
|
+
return;
|
|
1267
1265
|
}
|
|
1268
1266
|
const result = await run("docker", ["manifest", "inspect", image]);
|
|
1269
1267
|
if (!result.ok) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@or3/cloud",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
4
4
|
"description": "Install and operate the OR3 Cloud container distribution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"or3Cloud": {
|
|
19
19
|
"dashboardUpdateProtocol": 1,
|
|
20
20
|
"dashboardUpdateMinimumSourceVersion": "0.1.40",
|
|
21
|
-
"imageDigest": "sha256:
|
|
22
|
-
"operatorImageDigest": "sha256:
|
|
23
|
-
"sourceRevision": "
|
|
21
|
+
"imageDigest": "sha256:68dc1c0019447d7a842ca8254fd94908e7f88c1983aff49b12753dffccf89c37",
|
|
22
|
+
"operatorImageDigest": "sha256:86b0020a023d1aa88fb78ed7deaac7864350ffe04dcbe151c9dc28e8ec436c85",
|
|
23
|
+
"sourceRevision": "567ef7f1bd650f0f1327ae7dae588c7167ee9fac"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"dist",
|