docs icon indicating copy to clipboard operation
docs copied to clipboard

The ignore version specification for Docker is not clear

Open dannystaple opened this issue 2 years ago • 2 comments

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#ignore

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

The article mentions that "If you want to define a range, use the standard pattern for the package manager". However for Dockerfiles and docker containers, there doesn't seemed to be a defined syntax for this, including in the Docker/Dockerfile documentation. After much experimentation, the following was found to work:

versions:
          - "~> 1.3.0, < 1.3.6"

This should be documented, with a reference to the versioning this uses, or an example like the above.

Additional information

No response

dannystaple avatar Jan 20 '23 11:01 dannystaple

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

welcome[bot] avatar Jan 20 '23 11:01 welcome[bot]

@dannystaple Thank you for opening an issue and linking it to your PR! ✨

cmwilson21 avatar Jan 20 '23 16:01 cmwilson21

A stale label has been added to this issue becuase it has been open for 60 days with no activity. To keep this issue open, add a comment within 3 days.

github-actions[bot] avatar Mar 22 '23 16:03 github-actions[bot]

Closing this issue based on response here

cmwilson21 avatar Mar 23 '23 14:03 cmwilson21