diff --git a/.github/getDockerPlatforms.js b/.github/getDockerPlatforms.js index a5b16b4b..42f53081 100644 --- a/.github/getDockerPlatforms.js +++ b/.github/getDockerPlatforms.js @@ -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(',');; }