@@ -173,6 +173,7 @@ jobs:
173173 runs-on : ubuntu-24.04
174174 outputs :
175175 includes : ${{ steps.set.outputs.includes }}
176+ metaImages : ${{ steps.set.outputs.metaImages }}
176177 sign : ${{ steps.set.outputs.sign }}
177178 privateRepo : ${{ steps.set.outputs.privateRepo }}
178179 ghaCacheSign : ${{ steps.set.outputs.ghaCacheSign }}
@@ -246,6 +247,7 @@ jobs:
246247 env :
247248 INPUT_MATRIX-SIZE-LIMIT : ${{ env.MATRIX_SIZE_LIMIT }}
248249 INPUT_ACTIONS-ID-TOKEN-SET : ${{ env.ACTIONS_ID_TOKEN_REQUEST_TOKEN != '' && env.ACTIONS_ID_TOKEN_REQUEST_URL != '' }}
250+ INPUT_META-IMAGES : ${{ inputs.meta-images }}
249251 INPUT_RUNNER : ${{ inputs.runner }}
250252 INPUT_DISTRIBUTE : ${{ inputs.distribute }}
251253 INPUT_ARTIFACT-UPLOAD : ${{ inputs.artifact-upload }}
@@ -260,6 +262,7 @@ jobs:
260262
261263 const inpMatrixSizeLimit = parseInt(core.getInput('matrix-size-limit'), 10);
262264 const inpActionsIdTokenSet = core.getBooleanInput('actions-id-token-set');
265+ const inpMetaImages = core.getMultilineInput('meta-images');
263266
264267 const inpRunner = core.getInput('runner');
265268 const inpDistribute = core.getBooleanInput('distribute');
@@ -304,6 +307,12 @@ jobs:
304307 core.info(`privateRepo: ${privateRepo}`);
305308 core.setOutput('privateRepo', privateRepo);
306309 });
310+
311+ const metaImages = inpMetaImages.map(image => image.toLowerCase());
312+ await core.group(`Set metaImages output`, async () => {
313+ core.info(JSON.stringify(metaImages, null, 2));
314+ core.setOutput('metaImages', metaImages.join('\n'));
315+ });
307316
308317 await core.group(`Set includes output`, async () => {
309318 let includes = [];
@@ -387,7 +396,7 @@ jobs:
387396 if : ${{ inputs.output == 'image' }}
388397 uses : docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
389398 with :
390- images : ${{ inputs.meta-images }}
399+ images : ${{ needs.prepare.outputs.metaImages }}
391400 tags : ${{ inputs.meta-tags }}
392401 flavor : ${{ inputs.meta-flavor }}
393402 labels : ${{ inputs.meta-labels }}
@@ -526,7 +535,7 @@ jobs:
526535 INPUT_PUSH : ${{ inputs.push }}
527536 INPUT_SBOM : ${{ inputs.sbom }}
528537 INPUT_TARGET : ${{ inputs.target }}
529- INPUT_META-IMAGES : ${{ inputs.meta-images }}
538+ INPUT_META-IMAGES : ${{ needs.prepare.outputs.metaImages }}
530539 INPUT_META-VERSION : ${{ steps.meta.outputs.version }}
531540 INPUT_META-TAGS : ${{ steps.meta.outputs.tags }}
532541 INPUT_SET-META-ANNOTATIONS : ${{ inputs.set-meta-annotations }}
@@ -681,7 +690,7 @@ jobs:
681690 if : ${{ needs.prepare.outputs.sign == 'true' && inputs.output == 'image' }}
682691 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
683692 env :
684- INPUT_IMAGE-NAMES : ${{ inputs.meta-images }}
693+ INPUT_IMAGE-NAMES : ${{ needs.prepare.outputs.metaImages }}
685694 INPUT_IMAGE-DIGEST : ${{ steps.build.outputs.digest }}
686695 with :
687696 script : |
@@ -813,7 +822,7 @@ jobs:
813822 if : ${{ inputs.output == 'image' }}
814823 uses : docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
815824 with :
816- images : ${{ inputs.meta-images }}
825+ images : ${{ needs.prepare.outputs.metaImages }}
817826 tags : ${{ inputs.meta-tags }}
818827 flavor : ${{ inputs.meta-flavor }}
819828 labels : ${{ inputs.meta-labels }}
@@ -842,7 +851,7 @@ jobs:
842851 uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
843852 env :
844853 INPUT_PUSH : ${{ inputs.push }}
845- INPUT_IMAGE-NAMES : ${{ inputs.meta-images }}
854+ INPUT_IMAGE-NAMES : ${{ needs.prepare.outputs.metaImages }}
846855 INPUT_TAG-NAMES : ${{ steps.meta.outputs.tag-names }}
847856 INPUT_BUILD-OUTPUTS : ${{ toJSON(needs.build.outputs) }}
848857 INPUT_ANNOTATIONS : ${{ inputs.annotations }}
0 commit comments