Skip to content

Regression v2.8.1 to v3.0.1 with Hadolint on multiple images #214

@Andy-Bell

Description

@Andy-Bell

Orb version

3.0.1

What happened

Images key for hadolint job no longer allows usage of matching strings.

Expected behavior

We have our CI set up on one project to lint all the images contained within, which is used for managing versioned base images for all our projects, with shared libraries etc. installed.

On v2.8.1, we could use a config like so:

    jobs:
      - docker/hadolint:
          dockerfiles: "images/*/**"
          hadolint-tag: 2.12.0-debian

And it succeeds and lints all the images

But when we try to upgrade to v3.0.1 we instead get an error as it fails to find the selection of images. My suspicion is that it is due to the change to the hadolint script here which by wrapping it as a single string causes the dockerfiles to no longer be parsed correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions