goharbor/harbor

How to exclude untagged Images from being replicated?

Offen

#16.616 geöffnet am 30.03.2022

 (7 Kommentare) (0 Reaktionen) (2 zugewiesene Personen)Go (5.235 Forks)batch import
area/replicationhelp wantedkind/questionkind/requirement

Repository-Metriken

Stars
 (28.490 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 8T 17h) (74 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide