Skip to content

Consider using digest for imageNames.imageBuilderName #2132

@dagood

Description

@dagood

I received a question about this here: microsoft/go-infra-images#138 (review)

Specifically, would this reference:

imageNames.imageBuilderName: mcr.microsoft.com/dotnet-buildtools/image-builder:2984976

be better as a digest reference, something like this?

imageNames.imageBuilderName: mcr.microsoft.com/dotnet-buildtools/image-builder@sha256:c67949a86f0816982bb7f58e637b43d3031c2aa338ecd3e98e6ba97f3222ed5e # 2984976

In normal cases, this won't change anything (because those are AzDO build IDs that I wouldn't expect to ever be rebuilt, and we accept new values without question anyway), but technically it could make very specific edge cases more traceable/reproducible.

Has this been considered?


I'm curious if this lines up with Docker ecosystem expectations nowadays--if digests are actually catching on for this kind of ref.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions