mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-13 22:22:36 +00:00
Update image_size
type from number to string
This commit is contained in:
parent
21adee59e3
commit
bed1324655
@ -413,6 +413,8 @@ Can be repeated to add multiple certificates.\
|
|||||||
const DEFAULT_CHOICE = { name: 'current', value: 'current' };
|
const DEFAULT_CHOICE = { name: 'current', value: 'current' };
|
||||||
const choices = [DEFAULT_CHOICE].concat(
|
const choices = [DEFAULT_CHOICE].concat(
|
||||||
releases.map((release) => ({
|
releases.map((release) => ({
|
||||||
|
// TODO: [next-major] consider changing this to use the release semver
|
||||||
|
// and maybe the commit as well
|
||||||
name: `${release.end_timestamp} - ${release.commit}`,
|
name: `${release.end_timestamp} - ${release.commit}`,
|
||||||
value: release.commit,
|
value: release.commit,
|
||||||
})),
|
})),
|
||||||
|
@ -1292,7 +1292,7 @@ async function pushAndUpdateServiceImages(
|
|||||||
localImage.inspect(),
|
localImage.inspect(),
|
||||||
pushImage(localImage, index),
|
pushImage(localImage, index),
|
||||||
]);
|
]);
|
||||||
serviceImage.image_size = imgInfo.Size;
|
serviceImage.image_size = `${imgInfo.Size}`;
|
||||||
serviceImage.content_hash = imgDigest;
|
serviceImage.content_hash = imgDigest;
|
||||||
serviceImage.build_log = logs;
|
serviceImage.build_log = logs;
|
||||||
serviceImage.dockerfile = props.dockerfile;
|
serviceImage.dockerfile = props.dockerfile;
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
},
|
},
|
||||||
"__id": 233455
|
"__id": 233455
|
||||||
},
|
},
|
||||||
"image_size": 134320410,
|
"image_size": "134320410",
|
||||||
"is_stored_at__image_location": "registry2.balena-cloud.com/v2/9c00c9413942cd15cfc9189c5dac359d",
|
"is_stored_at__image_location": "registry2.balena-cloud.com/v2/9c00c9413942cd15cfc9189c5dac359d",
|
||||||
"project_type": "Standard Dockerfile",
|
"project_type": "Standard Dockerfile",
|
||||||
"error_message": null,
|
"error_message": null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user