Skip to content

Allow updating Java images with "update releases"#5734

Merged
jeffwidman merged 1 commit intomainfrom
deivid-rodriguez/docker-issues
Sep 17, 2022
Merged

Allow updating Java images with "update releases"#5734
jeffwidman merged 1 commit intomainfrom
deivid-rodriguez/docker-issues

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

@deivid-rodriguez deivid-rodriguez commented Sep 15, 2022

As per
https://www.oracle.com/java/technologies/javase/versioning-naming.html, an underscore is used for "update release" segments.

This PR fixes #5728 and supersedes #4801.

I added attribution to @RodrigoPetter since I used his tests!

Diffferences from his PR are the implementation, which is simpler here, and the scope which limits only to segments followed by numbers, but does not deal with other cases since I have not seen those in real life.

Thanks so much Rodrigo!!

Copy link
Copy Markdown
Member

@jeffwidman jeffwidman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done! Thanks for being thoughtful with the commit attribution.

@deivid-rodriguez deivid-rodriguez added the L: docker Docker containers label Sep 15, 2022
@deivid-rodriguez deivid-rodriguez self-assigned this Sep 15, 2022
As per
https://www.oracle.com/java/technologies/javase/versioning-naming.html,
an underscore is used for "update release" segments.

Co-authored-by: Rodrigo Petter <rodrigo-daniel@defensoria.rs.gov.br>
@jeffwidman jeffwidman force-pushed the deivid-rodriguez/docker-issues branch from 9564b4f to 559237a Compare September 17, 2022 07:45
@jeffwidman jeffwidman merged commit 37c897a into main Sep 17, 2022
@jeffwidman jeffwidman deleted the deivid-rodriguez/docker-issues branch September 17, 2022 07:49
@pavera pavera mentioned this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L: docker Docker containers

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Dependabot doesn't raise PR for updates where complex image tag is used

2 participants