Skip to content

--recent flag for annotate #399

Description

@alexfjw

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions