@leverege/build-tools 2.68.3-beta.2 → 2.68.3-beta.4
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 +1 -1
- package/src/Utils.mjs +1 -1
- package/src/docker-to-registry.mjs +2 -0
package/package.json
CHANGED
package/src/Utils.mjs
CHANGED
|
@@ -569,7 +569,7 @@ export const analyzeRepository = async ( giveGuidance ) => {
|
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
const containerName = closestPackageJson?.name.replace( /^@[^/]+\//, '' ) || rootPyProjectToml?.project.name
|
|
572
|
-
const imagePlatform = closestPackageJson?.leverege.imagePlatform || rootPyProjectToml?.leverege['image-platform']
|
|
572
|
+
const imagePlatform = closestPackageJson?.leverege.imagePlatform || rootPyProjectToml?.leverege['image-platform'] || [ 'linux/amd64' ]
|
|
573
573
|
const artifactRegistry = closestPackageJson?.leverege.registry || rootPyProjectToml?.leverege.registry
|
|
574
574
|
const artifactProject = closestPackageJson?.artifactRegistry.project || rootPyProjectToml?.artifactRegistry.project || 'unknown'
|
|
575
575
|
const packageVersion = `v${closestPackageJson?.version || rootPyProjectToml?.project.version}`
|
|
@@ -99,6 +99,7 @@ const {
|
|
|
99
99
|
artifactRegistry,
|
|
100
100
|
packageVersion,
|
|
101
101
|
containerName,
|
|
102
|
+
imagePlatform,
|
|
102
103
|
helmChart,
|
|
103
104
|
isNpmWorkspace,
|
|
104
105
|
isNodeJsProject,
|
|
@@ -221,6 +222,7 @@ if ( options?.helmChecks !== 'false' ) {
|
|
|
221
222
|
log( `
|
|
222
223
|
${chalk.green.bold( 'Build Information:' )}
|
|
223
224
|
Container: ${chalk.green.bold( containerName )}
|
|
225
|
+
Platform: ${chalk.green.bold( imagePlatform )}
|
|
224
226
|
Version: ${chalk.green.bold( imageVersion )} ${tagInfo}
|
|
225
227
|
Registry: ${chalk.green.bold( artifactRegistry )}
|
|
226
228
|
Image Folder: ${chalk.yellow.bold( registryFolder )}
|