Skip to content

fix: commitlint docker image isn't tagged with latest/version #3671

Closed
@Clockwork-Muse

Description

@Clockwork-Muse

Expected Behavior

That a fully tagged docker image is available, with a version tag and the latest tag.

Current Behavior

The CI documentation now includes the following:

stages: ["lint","build","test"]
lint:commit:
  image:
    name: registry.hub.docker.com/commitlint/commitlint:latest
    entrypoint: [""]
  stage: lint
  script:
    - echo "${CI_COMMIT_MESSAGE}" | commitlint

(Just merged yesterday, thank you!)
... however as of this writing the available tags are:
image

Which means that the version/latest tags aren't present.

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

If my reading of the github actions is correct, performing a release/making a tag should kick off the required CI run and publish the required tags.

Steps to Reproduce

`docker pull registry.hub.docker.com/commitlint/commitlint:latest`

Context

I'm trying to set up an Azure DevOps pipeline, focusing on using container images, because trying to do it via node/npx doesn't seem to be working.

Unfortunately AzDO requires images generally not have an ENTRYPOINT entry, which prevents the image from running as-is.
(And a few other restrictions, but the image should meet them otherwise)

commitlint --version

N/A

git --version

N/A

node --version

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions