[Prisma Cloud Compute] 如何解决“无法检索存储库<repository-name>标签,错误存储库:<repository-name>设置 GAR 时出现“格式不正确”错误</repository-name></repository-name>
647
Created On 08/05/24 22:48 PM - Last Modified 03/19/26 17:19 PM
Symptom
You are setting up GAR for scanning and you encounter the following error:
"failed to retrieve repository <repository-name> tags, error repository: <repository-name> has bad format"
Environment
- Prisma Cloud Compute SaaS版本
- Prisma Cloud Compute 自托管版本
- Google Artifact 注册表
Cause
出现此错误的原因可能是在配置注册表设置时,您可能以错误的格式添加了“存储库名称”。
Resolution
Correct the repository name format to the following:
project-id/repository-name/*
Update the settings and re-scan, the error should go away.