microsoft / microsoft/go

Add a retention policy to our ACR (delete old images)

Open
#156 0 comments 0 reactions 1 assignee View on GitHub

@dagood is already working on this.

Since Aug 18, 2021.

Area-Docker
Dominant language
Go
Stars
431
Forks
44
Avg merge
21h 18m
Merged PRs (30d)
30

Description

.NET Docker uses an AzDO pipeline for cleanup:
https://github.com/dotnet/docker-tools/blob/main/eng/pipelines/cleanup-acr-images.yml

The built-in ACR retention policy feature is too simple for .NET Docker. It only has a number of days since publish to keep an image. One .NET Docker goal in particular is to keep the public/* repositories forever. It's a precaution in case something goes wrong and they need to be republished. (There is no strict requirement, so this policy may be outweighed by the cost if something changes.)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.