Add docker_hub method

Will replace Ruby-implemented dockerhub method (only used by Amazon Linux at the moment.
This commit is contained in:
Marc Wrobel
2023-08-02 23:28:42 +02:00
parent deb2f73200
commit 42e511317d
2 changed files with 48 additions and 3 deletions

View File

@@ -4,9 +4,6 @@ import sys
from common import endoflife
METHOD = "npm"
DEFAULT_TAG_TEMPLATE = ( # Same as used in Ruby (update.rb)
"{{major}}{% if minor %}.{{minor}}{% if patch %}.{{patch}}{%endif%}{%endif%}"
)
REGEX = r"^(?:(\d+\.(?:\d+\.)*\d+))$"