Skip to content

Commit

Permalink
fix: don't use untagged on ksnap acr purge (#293)
Browse files Browse the repository at this point in the history
Co-authored-by: Rachel Gregory <regex@berkeley.edu>
  • Loading branch information
tallaxes and rakechill committed Jun 20, 2024
1 parent a1cd78e commit 92425e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/infra/ksnap-acr.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ resource acr 'Microsoft.ContainerRegistry/registries@2023-11-01-preview' = {

var schedule = '0 1 * * Tue' // 1am UTC every Tuesday

// --untagged appears to be broken: https://github.com/Azure/acr-cli/issues/131
var purgeOldArtifacts = '''
version: v1.1.0
steps:
- cmd: acr purge --filter 'karpenter/snapshot/.*:.*' --ago 30d --untagged
- cmd: acr purge --filter 'karpenter/snapshot/.*:.*' --ago 30d
disableWorkingDirectoryOverride: true
timeout: 3600
'''
Expand Down

0 comments on commit 92425e7

Please sign in to comment.