@omen.foundation/node-microservice-runtime 0.1.92 → 0.1.93
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/package.json
CHANGED
|
@@ -1249,10 +1249,13 @@ async function main() {
|
|
|
1249
1249
|
const fullImageId = inspect.stdout.trim();
|
|
1250
1250
|
const imageTarPath = path.join(tempRoot, `${serviceId.replace(/[^a-z0-9-_]/gi, '_')}.tar`);
|
|
1251
1251
|
if (process.env.BEAMO_DEBUG === '1' || process.env.BEAMO_NODE_DEBUG === '1') {
|
|
1252
|
+
// Calculate short digest manually (shortDigest function defined later)
|
|
1253
|
+
const longImageId = fullImageId.includes(':') ? fullImageId.split(':')[1] : fullImageId;
|
|
1254
|
+
const shortImageIdPreview = longImageId.substring(0, 12);
|
|
1252
1255
|
console.error(`[beamo-node] [STEP: Extract Image ID]`);
|
|
1253
1256
|
console.error(`[beamo-node] Docker Tag: ${dockerTag}`);
|
|
1254
1257
|
console.error(`[beamo-node] Full Image ID: ${fullImageId}`);
|
|
1255
|
-
console.error(`[beamo-node] Short Image ID: ${
|
|
1258
|
+
console.error(`[beamo-node] Short Image ID (preview): ${shortImageIdPreview}`);
|
|
1256
1259
|
console.error(`[beamo-node] Image Tar Path: ${imageTarPath}`);
|
|
1257
1260
|
}
|
|
1258
1261
|
await runCommand('docker', ['image', 'save', dockerTag, '-o', imageTarPath], { silent: true });
|