-
Notifications
You must be signed in to change notification settings - Fork 46
Description
What is the problem you're trying to solve
Wondering if you folks are open to a contribution which adds the --recent
flag to annotate
.
Annotate images that were pushed to the ACR within the last 24hrs.
Was thinking of using --ago
naming for the flag here as well, but that runs counter to the purge command where all images > 1d are purged.
Our usecase is as follows:
We'd like to annotate all images pushed to our acr with a cron job.
I'm aware the book method of annotating images at push time is not a cron, but a ACR webhooks + serverless functions.
It's really heavy on infra & management overhead, which is why we'd rather go with a cron job.
We currently do this manually using oras & az cli, but would rather have 1 tool to do the annotation.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.