Skip to content
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

Prioritize detection of sha suffixed tags over date tags #8553

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

mctofu
Copy link
Contributor

@mctofu mctofu commented Dec 6, 2023

If a tag uses both a date and a sha suffix, we'll want to ignore the sha suffix during comparisons. This prioritizes the sha suffix detection over the date detection so we'll properly ignore the sha suffix.

The updates for tags like 20231101-230548-g159857a0b started failing once #8500 was merged as that caused them to be detected as :year_month_day instead of :sha_suffixed.

@mctofu mctofu requested a review from a team as a code owner December 6, 2023 22:53
@github-actions github-actions bot added the L: docker Docker containers label Dec 6, 2023
@honeyankit honeyankit assigned honeyankit and unassigned honeyankit Dec 6, 2023
@mctofu mctofu changed the title Priortize detection of sha suffixed tags over date tags Prioritize detection of sha suffixed tags over date tags Dec 6, 2023
If a tag uses both a date and a sha suffix, we'll want to ignore the
sha suffix during comparisons. This prioritizes the sha suffix detection
over the date detection so we'll properly ignore the sha suffix.
@mctofu mctofu force-pushed the mctofu/docker-sha-suffix-priority branch from 5fc3472 to bfa2bbb Compare December 6, 2023 23:10
@mctofu mctofu merged commit 2cb7199 into main Dec 6, 2023
49 checks passed
@mctofu mctofu deleted the mctofu/docker-sha-suffix-priority branch December 6, 2023 23:28
lucemia added a commit to lucemia/dependabot-core that referenced this pull request Dec 12, 2023
jakecoffman pushed a commit that referenced this pull request Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: docker Docker containers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants