Replies: 1 comment
-
|
The Azure ACR adapter in Harbor only registers SupportedResourceTypes: []string{
model.ResourceTypeImage,
},Compare this to the native adapter which supports both As for why it's not documented — the ACR adapter was contributed as a community PR and the resource type limitation wasn't called out. Most ACR users replicate container images, so it probably went unnoticed. Workaround: use the generic Docker registry adapter instead of the ACR-specific one. When creating the replication endpoint in Harbor, select "Docker Registry" as the provider instead of "Azure ACR". You'll need to provide a service principal or admin credentials manually, but the generic adapter supports The endpoint config would be:
If you need the ACR adapter to natively support artifacts, it'd be a small PR — just adding |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Replicating from Azure ACR seemingly supports only "image", not "artifact". I would like to know, why? And why isn't it documented?
And most importantly, is there a way to work around that?
Beta Was this translation helpful? Give feedback.
All reactions