Skip to content

Tag use can crash the the unit tests #123

Description

@roadSurfer

Change the tag in "test/data/dockerfiles/TestLabels" from "sometag" to "some-tag".
Now run the tests with "node bin/dockerfile_lint --json -f test/data/dockerfiles/TestLabels -f test/data/dockerfiles/TestLabels -p -r test/data/rules/basic.yaml"

Observe that they fail with "Invalid parameters for command." on the "FROM" command.

Not quite sure what is going on there, but I would expect "some-tag", "some_tag" etc to all work without issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions