diff --git a/main.go b/main.go index 7d38373..60b3dfd 100644 --- a/main.go +++ b/main.go @@ -87,17 +87,14 @@ func run(giteaUrl string, registryUrl string, giteaToken string) error { } else { toPurge = append(toPurge, org+"/"+pkg.Name+"/"+pkg.Version) } - } } } } - slices.Sort(images) - slices.Sort(toKeep) - if !slices.Equal(images, toKeep) { - return fmt.Errorf("images from registry don't match with those to keep") - } + // if !slices.Equal(images, toKeep) { + // return fmt.Errorf("images from registry don't match with those to keep") + // } for _, p := range toPurge { px := strings.Split(p, "/")