Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dependabot ignores version constraint for i386 Docker image #5009

Closed
atc0005 opened this issue Apr 17, 2022 · 2 comments
Closed

Dependabot ignores version constraint for i386 Docker image #5009

atc0005 opened this issue Apr 17, 2022 · 2 comments
Assignees
Labels
L: docker Docker containers T: bug 🐞 Something isn't working

Comments

@atc0005
Copy link

atc0005 commented Apr 17, 2022

Package ecosystem

  • Docker

Package manager version

  • N/A

Language version

  • N/A

Manifest location and content prior to update

dependabot.yml content

Updated dependency

  • Currently using i386/golang:1.17.9-alpine3.14 (set manually), Dependabot offers i386/golang:1.18.1-alpine3.14

What you expected to see, versus what you actually saw

Native package manager behavior

  • N/A

Images of the diff or a link to the PR, issue or logs

Current PR:

Previous PR:

As noted earlier, the current PR is unexpected as the version constraint should be preventing 1.18 from being offered for all but the unstable Dockerfile (different directory path, different Dependabot config block). The prior PR was incorrect as the version constraint was expected to result in an offer of an update version update for the same series (1.17.x instead of 1.18.x).

@atc0005 atc0005 added the T: bug 🐞 Something isn't working label Apr 17, 2022
@jakecoffman jakecoffman added the L: docker Docker containers label Apr 18, 2022
@jakecoffman
Copy link
Member

Try setting the dependency name to i386/golang in dependabot.yml:

    ignore:
      - dependency-name: "i386/golang"

@atc0005
Copy link
Author

atc0005 commented Apr 19, 2022

@jakecoffman: Try setting the dependency name to i386/golang in dependabot.yml:

    ignore:
      - dependency-name: "i386/golang"

Thanks for the help! The suggested changes appear to work as intended.

@atc0005 atc0005 closed this as completed Apr 19, 2022
@jakecoffman jakecoffman self-assigned this Apr 19, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
L: docker Docker containers T: bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants