Add docker_hub method
Will replace Ruby-implemented dockerhub method (only used by Amazon Linux at the moment.
This commit is contained in:
@@ -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+))$"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user