woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.3k stars 371 forks source link

Poorly formatted global registry can not be deleted. #4348

Open greenaar opened 1 week ago

greenaar commented 1 week ago

Component

server

Describe the bug

When adding a global registry, if you add the protocol (ie https://), the entry is not removable via the UI.

Steps to reproduce

create two global registry records, mytest.local, and https://mytest.local.

mytest.local will be removable. https://mytest.local will say it's being removed, but will persist.

Expected behavior

Both records should be removed.

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"2.7.3"}

Additional context

No response

Validations