Hello, I ran into a problem that the regular expression does not work if there is a '_' character in the name.
INFO[0000] dregsy 0.5.0
DEBU[0000] lister max items set to 100
DEBU[0000] lister cache duration set to 1h0m0s
INFO[0000] using credentials from config registry="10.15.36.87:9100" username=mycoolusername
INFO[0000] using credentials from config registry="192.168.5.231:9100" username=mycoolusername
INFO[0000] skopeo version 1.11.2
INFO[0000] relay ready relay=skopeo
INFO[0000] watching config file, restarting on change file=/config.yaml
INFO[0000] syncing task source="10.15.36.87:9100" target="192.168.5.231:9100" task=task1
INFO[0000] mapping from="regex:test_test/.*" to=
INFO[0000] refreshing credentials registry="10.15.36.87:9100"
DEBU[0000] no auth refresher, skipping
INFO[0000] refreshing credentials registry="192.168.5.231:9100"
DEBU[0000] no auth refresher, skipping
DEBU[0000] retrieving repository list
DEBU[0000] registry scheme = http
DEBU[0000] no auth refresher, skipping
DEBU[0000] caching repository list
DEBU[0000] stopping tasks
DEBU[0000] task exited task=task1
INFO[0000] all done
DEBU[0000] exit main
config.yaml
relay: skopeo
watch: true
skopeo:
binary: skopeo
certs-dir: /etc/skopeo/certs.d
docker:
dockerhost: unix:///var/run/docker.sock
api-version: 1.41
lister:
maxItems: 100
cacheDuration: 1h
tasks:
- name: task1 # required
verbose: true
source:
registry: 10.15.36.87:9100
skip-tls-verify: true
target:
registry: 192.168.5.231:9100
skip-tls-verify: true
mappings:
- from: regex:test_test/.*
tags: ['test']
Hello, I ran into a problem that the regular expression does not work if there is a '_' character in the name.
config.yaml