From dc2665d250b4fb7dd938ca2b4cfa88fb6c31d6b1 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 17 Nov 2024 00:50:43 +0100 Subject: [PATCH] fix(docker): Improve logging for Dockerfile build order with base image details. --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/manager.docker/mod.classes.dockerfile.ts | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 8ca7501..94a83a7 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2024-11-17 - 4.1.36 - fix(docker) +Improve logging for Dockerfile build order with base image details. + +- Enhance logging in Dockerfile sorting process to include base image information. + ## 2024-11-17 - 4.1.35 - fix(docker) Fix Dockerfile dependency sorting and enhance environment variable handling for GitHub repos diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index c3d7111..6a4a73f 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@ship.zone/npmci', - version: '4.1.35', + version: '4.1.36', description: 'A tool to streamline Node.js and Docker workflows within CI environments, particularly GitLab CI, providing various CI/CD utilities.' } diff --git a/ts/manager.docker/mod.classes.dockerfile.ts b/ts/manager.docker/mod.classes.dockerfile.ts index 8715ae7..e84f47d 100644 --- a/ts/manager.docker/mod.classes.dockerfile.ts +++ b/ts/manager.docker/mod.classes.dockerfile.ts @@ -102,7 +102,8 @@ export class Dockerfile { // Log the sorted order sortedDockerfiles.forEach((dockerfile, index) => { - logger.log('info', `Build order ${index + 1}: ${dockerfile.cleanTag}`); + logger.log('info', `Build order ${index + 1}: ${dockerfile.cleanTag} + with base image ${dockerfile.baseImage}`); }); return sortedDockerfiles;