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

MCR images are sometimes incorrectly being flagged as out-of-date #2730

Closed
bwateratmsft opened this issue Feb 24, 2021 · 1 comment · Fixed by #2731
Closed

MCR images are sometimes incorrectly being flagged as out-of-date #2730

bwateratmsft opened this issue Feb 24, 2021 · 1 comment · Fixed by #2731

Comments

@bwateratmsft
Copy link
Collaborator

In some cases an MCR image (and maybe Docker Hub too?) can be flagged as out-of-date when it is not. For example, what I have here:

image

MCR returns the latest digest as being sha256:eda85a60aeb00e7904347d321095d8115f171dacc5d84feba4644ca4905c0204. When I inspect the image locally, it has the following for RepoDigests:

    "RepoDigests": [
        "mcr.microsoft.com/dotnet/sdk@sha256:c0dc643e15be6d5aad6f51a4cc5dc8966bbecdc83647e58276fdc0b155361eaf",
        "mcr.microsoft.com/dotnet/sdk@sha256:eda85a60aeb00e7904347d321095d8115f171dacc5d84feba4644ca4905c0204"
    ],

This line considers only the first repo digest and is the source of the bug.

When I remove and re-pull the image, it no longer has the first digest and is not flagged, so I'm not totally sure how this works.

@bwateratmsft
Copy link
Collaborator Author

This is now released in Docker extension version 1.11.0.

@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant