Azure / Azure/acr-cli

ACR Purge

Open
#129 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
70
Forks
52
Avg merge
3d 2h
Merged PRs (30d)
12

Description

PURGE_CMD="acr purge --filter '.*:^GOLD.*' \
--ago 15d --dry-run"

az acr task create --name PurgeGold1 \
--cmd "$PURGE_CMD" \
--schedule "00 16 * * *" \
--registry "acrdemo2022coreg" \
--context /dev/null

When this schedule runs, it shows that the repository also will be deleted but the expectation is to delete gold tag on all the repositories in the ACR.

Contributor guide

Open the contributing guide

Research direction

Reproduce the Azure Container Registry task with the shown PURGE_CMD and --dry-run first. Trace the purge filtering behavior for the GOLD tag pattern across repositories; done means the dry run reports matching tags for deletion without deleting the repositories themselves.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.