goharbor/harbor

How to exclude untagged Images from being replicated?

開放

#16,616 建立於 2022年3月30日

 (7 則留言) (0 個反應) (2 位負責人)Go (5,235 個分叉)batch import
area/replicationhelp wantedkind/questionkind/requirement

倉庫指標

星標
 (28,490 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Hey,

I am fiddling around with replication rules right now.

Given this project I want to replicate:

repo1: image1:1-SNAPSHOT,latest image2: untagged image3: untagged

My replication rule looks like this (pull):

Source resource filter Name: project/** Tag: excluding {*-SNAPSHOT,*.*.*-SNAPSHOT,latest}

This exludes the first image from being replicated as I want to. But how do I exclude untagged images in a replication rule?

Thanks for any hints

貢獻者指南