However, when actually not defining images, github will complain because the property is set as required and defining it as an empty string will also result in the same error message:
Error: images input required
I noticed just now, that the empty images seem to be a feature of v5 of this action which I didn't know exists because I checked for release git tags instead of checking the releases tag.
Sorry
Contributing guidelines
I've found a bug, and:
Description
The documentation describes that
images
input can be empty so that only tags are generated: https://github.com/docker/metadata-action/blob/releases/v4/README.md#images-inputHowever, when actually not defining
images
, github will complain because the property is set as required and defining it as an empty string will also result in the same error message:Error: images input required
This can also be observed in the action definiton as required is set to true: https://github.com/docker/metadata-action/blob/releases/v4/action.yml#L14-L16
Here an example step which will result in the error:
Expected behaviour
The
images
input is not defined as required and works as the documentation describesActual behaviour
Error: images input required
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
BuildKit logs
No response
Additional info
No response