Do simple endsWith matching for docker view
All checks were successful
/ terraform (push) Successful in 33s
/ ansible (push) Successful in 1m42s

This saves the need for a regex
This commit is contained in:
Jake Howard 2024-01-14 22:27:02 +00:00
parent 4c5936b2aa
commit c6bae0f797
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -4,7 +4,7 @@
# Only allow requests to `.docker` records
view docker {
expr name() matches '^[a-zA-Z0-9-_]+\\.docker\\.$'
expr name() endsWith '.docker.'
}
# Strip the `.docker` suffix