fix: make the images input not required

Signed-off-by: Jason D'Amour <jasondamour98@gmail.com>
This commit is contained in:
Jason D'Amour 2023-06-30 21:11:50 -05:00
parent 6fa815c755
commit 9ab0ec4482
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ inputs:
required: true required: true
images: images:
description: 'List of Docker images to use as base name for tags' description: 'List of Docker images to use as base name for tags'
required: true required: false
tags: tags:
description: 'List of tags as key-value pair attributes' description: 'List of tags as key-value pair attributes'
required: false required: false

View File

@ -48,6 +48,7 @@ actionsToolkit.run(
} }
setOutput('version', version.main || ''); setOutput('version', version.main || '');
// Docker tags // Docker tags
const tags: Array<string> = meta.getTags(); const tags: Array<string> = meta.getTags();
if (tags.length == 0) { if (tags.length == 0) {