fix(docker): Improve logging for Dockerfile build order with base image details.

This commit is contained in:
Philipp Kunz 2024-11-17 00:50:43 +01:00
parent 00f324e151
commit dc2665d250
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog # 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) ## 2024-11-17 - 4.1.35 - fix(docker)
Fix Dockerfile dependency sorting and enhance environment variable handling for GitHub repos Fix Dockerfile dependency sorting and enhance environment variable handling for GitHub repos

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@ship.zone/npmci', 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.' description: 'A tool to streamline Node.js and Docker workflows within CI environments, particularly GitLab CI, providing various CI/CD utilities.'
} }

View File

@ -102,7 +102,8 @@ export class Dockerfile {
// Log the sorted order // Log the sorted order
sortedDockerfiles.forEach((dockerfile, index) => { 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; return sortedDockerfiles;