Repository navigation
Description
Describe the Bug
The latest tag of mcr.microsoft.com/dotnet/sdk points to an image with version 8.0.101 instead of the actual latest stable of (at time of writing) 8.0.203, just like the 8.0 tag points to.
Steps to Reproduce
Pulling mcr.microsoft.com/dotnet/sdk:latest or checking the manifest at https://mcr.microsoft.com/v2/dotnet/sdk/manifests/latest results in the image with SDK version 8.0.101 as in https://mcr.microsoft.com/v2/dotnet/sdk/manifests/8.0.101.
https://mcr.microsoft.com/v2/dotnet/sdk/manifests/8.0 points to the same image as https://mcr.microsoft.com/v2/dotnet/sdk/manifests/8.0.203.
Other Information
This also messes with dependabot trying to find the latest stable version:
updater | 2024/03/27 18:51:05 INFO <job_806298635> Checking if dotnet/sdk 8.0.101 needs updating
proxy | 2024/03/27 18:51:05 [020] GET https://mcr.microsoft.com:443/v2/dotnet/sdk/tags/list
proxy | 2024/03/27 18:51:05 [020] 200 https://mcr.microsoft.com:443/v2/dotnet/sdk/tags/list
proxy | 2024/03/27 18:51:06 [022] HEAD https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/latest
proxy | 2024/03/27 18:51:06 [022] 200 https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/latest
proxy | 2024/03/27 18:51:06 [024] HEAD https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.203
proxy | 2024/03/27 18:51:06 [024] 200 https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.203
proxy | 2024/03/27 18:51:06 [026] HEAD https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.202
proxy | 2024/03/27 18:51:06 [026] 200 https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.202
proxy | 2024/03/27 18:51:06 [028] HEAD https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.201
proxy | 2024/03/27 18:51:06 [028] 200 https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.201
proxy | 2024/03/27 18:51:06 [030] HEAD https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.200
proxy | 2024/03/27 18:51:06 [030] 200 https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.200
proxy | 2024/03/27 18:51:06 [032] HEAD https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.101
proxy | 2024/03/27 18:51:06 [032] 200 https://mcr.microsoft.com:443/v2/dotnet/sdk/manifests/8.0.101
updater | 2024/03/27 18:51:07 INFO <job_806298635> The `latest` tag points to the same image as the `8.0.101` image, so dependabot is treating `8.0.200` as a pre-release. The `latest` tag needs to point to `8.0.200` for Dependabot to consider it.
updater | 2024/03/27 18:51:07 INFO <job_806298635> The `latest` tag points to the same image as the `8.0.101` image, so dependabot is treating `8.0.201` as a pre-release. The `latest` tag needs to point to `8.0.201` for Dependabot to consider it.
updater | 2024/03/27 18:51:08 INFO <job_806298635> The `latest` tag points to the same image as the `8.0.101` image, so dependabot is treating `8.0.202` as a pre-release. The `latest` tag needs to point to `8.0.202` for Dependabot to consider it.
updater | 2024/03/27 18:51:08 INFO <job_806298635> The `latest` tag points to the same image as the `8.0.101` image, so dependabot is treating `8.0.203` as a pre-release. The `latest` tag needs to point to `8.0.203` for Dependabot to consider it.
updater | 2024/03/27 18:51:08 INFO <job_806298635> Latest version is 8.0.101
updater | 2024/03/27 18:51:08 INFO <job_806298635> No update needed for dotnet/sdk 8.0.101
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
richlander commentedon Mar 27, 2024
I can repro this.
aPinat commentedon Mar 28, 2024
Looks like the issue lies here, where the
latesttag is missing from thesharedTags:dotnet-docker/manifest.json
Lines 8325 to 8344 in e5e8164
Also not sure why there is another entry for what looks like the same image a few lines below as well:
dotnet-docker/manifest.json
Lines 8377 to 8394 in e5e8164
Looking at the runtime image where it works correctly for example, both of the above are consolidated and include the
latesttag:dotnet-docker/manifest.json
Lines 3417 to 3438 in e5e8164
[-]`latest` tag of `dotnet/sdk` image is stuck at 8.0.101[/-][+]`latest` tag of `dotnet/sdk` image is stuck at 8.0.101, missing from `manifest.json`[/+]lbussell commentedon Mar 28, 2024
Thanks for the investigation, I'll fix this right away.