mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-09-15 17:27:00 +00:00
fix: make the images input not required
Signed-off-by: Jason D'Amour <jasondamour98@gmail.com>
This commit is contained in:
parent
6fa815c755
commit
9ab0ec4482
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue