dotnet / docker-tools

This is a repo to house some common tools for our various docker repos.
MIT License
124 stars 46 forks source link

Add a new command for annotating image digests for EOL #1334

Closed NikolaMilosavljevic closed 4 months ago

NikolaMilosavljevic commented 5 months ago

Contributes to: https://github.com/dotnet/docker-tools/issues/1201

The work is being split into smaller PRs to aid in review process.

Some notes:

JSON file format (with sample dates):

{
  "eolDate": "2024-05-27",
  "eolDigests": [
    {
      "digest": "digest-value"
    },
    {
      "digest": "digest-value",
      "eolDate" : "2022-03-01"
    }
  ]
}

EOL data can be specified as a global value (optional) for all digests in the file. Each digest can have its own specific EOL date, which overrides the global value (if set).

dotnet-issue-labeler[bot] commented 5 months ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-issue-labeler[bot] commented 5 months ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

NikolaMilosavljevic commented 5 months ago

Hmm, some test failures on Linux. This worked fine on Windows.

Working on a fix.