@pd4castr/cli 0.0.9 → 0.0.10

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -999,7 +999,7 @@ async function handleCreateModelFlow(options, app, spinner, ctx, authCtx) {
999
999
  const pushCredentials = await getRegistryPushCredentials(model.id, authCtx);
1000
1000
  await loginToDockerRegistry(pushCredentials);
1001
1001
  await buildDockerImage(dockerImage, ctx);
1002
- await pushDockerImage(dockerImage, pushCredentials.ref);
1002
+ await pushDockerImage(dockerImage, model.dockerImage);
1003
1003
  spinner.succeed("Model image pushed to registry successfully");
1004
1004
  spinner.stopAndPersist({
1005
1005
  symbol: "\u{1F680} ",
@@ -1083,7 +1083,7 @@ async function handleModelRevisionCreateFlow(options, app, spinner, ctx, authCtx
1083
1083
  const pushCredentials = await getRegistryPushCredentials(model.id, authCtx);
1084
1084
  await loginToDockerRegistry(pushCredentials);
1085
1085
  await buildDockerImage(dockerImage, ctx);
1086
- await pushDockerImage(dockerImage, pushCredentials.ref);
1086
+ await pushDockerImage(dockerImage, model.dockerImage);
1087
1087
  spinner.succeed("New model revision image pushed to registry successfully");
1088
1088
  spinner.stopAndPersist({
1089
1089
  symbol: "\u{1F680} ",
@@ -1146,7 +1146,7 @@ async function handleModelRevisionUpdateFlow(options, app, spinner, ctx, authCtx
1146
1146
  const pushCredentials = await getRegistryPushCredentials(model.id, authCtx);
1147
1147
  await loginToDockerRegistry(pushCredentials);
1148
1148
  await buildDockerImage(dockerImage, ctx);
1149
- await pushDockerImage(dockerImage, pushCredentials.ref);
1149
+ await pushDockerImage(dockerImage, model.dockerImage);
1150
1150
  spinner.succeed("Updated model image pushed to registry successfully");
1151
1151
  spinner.stopAndPersist({
1152
1152
  symbol: "\u{1F680} ",
@@ -1333,7 +1333,7 @@ import { Command } from "commander";
1333
1333
  // package.json
1334
1334
  var package_default = {
1335
1335
  name: "@pd4castr/cli",
1336
- version: "0.0.9",
1336
+ version: "0.0.10",
1337
1337
  description: "CLI tool for creating, testing, and publishing pd4castr models",
1338
1338
  main: "dist/index.js",
1339
1339
  type: "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pd4castr/cli",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "CLI tool for creating, testing, and publishing pd4castr models",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",