ci(docker): log base platforms

This commit is contained in:
Travis Shivers 2020-09-28 02:28:26 -05:00
parent aeab942108
commit 9dfb646d33
No known key found for this signature in database
GPG Key ID: EE4CC2891B8FCD33
1 changed files with 1 additions and 1 deletions

View File

@ -26,8 +26,8 @@ const getImagePlatforms = (image) => JSON.parse(getImageManifest(image)).manifes
const getDockerfileArches = (file, supportedPlatformsStr) => {
const basePlatforms = getImagePlatforms(getDockerfileImage(file));
console.log('Base platforms: ', basePlatforms.join(', '));
const supportedPlatforms = supportedPlatformsStr.split(',');
return basePlatforms.filter((platform) => supportedPlatforms.includes(platform)).join(',');;
}