From 21d254525277bec3ed00c4662f07b2746e3f4dc1 Mon Sep 17 00:00:00 2001 From: tallaxes <18728999+tallaxes@users.noreply.github.com> Date: Tue, 23 Apr 2024 02:57:14 +0000 Subject: [PATCH] fix: don't use untagged on ksnap acr purge --- hack/infra/ksnap-acr.bicep | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/infra/ksnap-acr.bicep b/hack/infra/ksnap-acr.bicep index 175400c8c..a75afbe17 100644 --- a/hack/infra/ksnap-acr.bicep +++ b/hack/infra/ksnap-acr.bicep @@ -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 '''