From 9dfb646d3390dc9f4a7c05abea12a3ec0df43b22 Mon Sep 17 00:00:00 2001 From: Travis Shivers Date: Mon, 28 Sep 2020 02:28:26 -0500 Subject: [PATCH] ci(docker): log base platforms --- .github/getDockerPlatforms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(',');; }