-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump docker
image references in GitHub Actions workflow
#5541
Comments
If I understand correctly, you're saying that:
If so, then yes, Dependabot already does this... you just have to configure the docker ecosystem in your Closing as I think we already do what you want, but if I misunderstood please clarify and I can re-open. |
Maybe I am misunderstanding but the Maybe I can clarify my idea with an example. And I'd like to get a PR to bump to the current version I guess an easy workaround would be to have a actual Dockerfile in the repository that is used and gets bumped via the |
Ah, I see what you're looking for... yeah, adding a placeholder Dockerfile is probably the easiest workaround right now. |
I tried my workaround, but I can't get github workflows to use a local Dockerfile and it seems to be impossible (cf. https://stackoverflow.com/questions/61154750/use-local-dockerfile-in-a-github-action). |
This is also linked to the following TODOs
though they refer to steps with |
Related, as almost but not quite a duplicate: |
docker
image references in GitHub Actions workflow
Instead of running github workflows or gitlab-ci on a :latest docker image, using fixed versions provides better stability.
It would therefore be awesome if dependabot could create pull requests with a bumped (but not :latest) image for a ci-setup.
I guess getting the versions of docker images from dockerhub is already implemented for the "docker" mode which bumps Dockerfiles.
Cheers
APN
The text was updated successfully, but these errors were encountered: