Skip to content

Docker container action does not get inputs that have hyphen in the name #32671

@ijpatricio

Description

@ijpatricio

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action

What part(s) of the article would you like to see updated?

So I followed the instructions on the page, and used an input like so:

        with:
          who-to-greet: Arnold

it turns out, after long trial and error, that hypen makes it not available on the Docker container.

I would suggest to make that a warning callout, and use underscores in the example.

I'm ready to make that PR if you agree with this, just let me know.

Additional information

Below, you'll find what I tired, and marked them as working or not!

You can also see the action repo, so just reach out if any questions! https://github.com/unitedbycode/alfredo

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamwaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions