diff --git a/action.yaml b/action.yaml index 442b811..7471e96 100644 --- a/action.yaml +++ b/action.yaml @@ -5,14 +5,17 @@ inputs: kind_version: description: 'The version of kind to use' required: false + # renovate: github-releases packageName=kubernetes-sigs/kind default: 'v0.23.0' kubectl_version: description: 'The version of kubectl to use' required: false + # renovate: k8s default: 'v1.30.1' node_image: description: 'The version of node image to use' required: false + # renovate: docker default: 'kindest/node:v1.30.0' ingress_enabled: description: 'enable ingress for the cluster' @@ -21,6 +24,7 @@ inputs: registry_image: description: 'The registry docker image to be used' required: false + # renovate: docker default: 'registry:2' outputs: ingress_class_name: diff --git a/renovate.json b/renovate.json index 7190a60..67bf273 100644 --- a/renovate.json +++ b/renovate.json @@ -1,3 +1,46 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json" + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "customManagers": [ + { + "customType": "regex", + "datasourceTemplate": "docker", + "description": "Update docker images in action.yaml", + "fileMatch": [ + "^action\\.yaml$" + ], + "matchStrings": [ + "# renovate: docker\\s+default:\\s\\'(?.+?):(?.+?)'\\s" + ] + }, + { + "customType": "regex", + "datasourceTemplate": "github-releases", + "description": "Update github-releases images in action.yaml", + "fileMatch": [ + "^action\\.yaml$" + ], + "matchStrings": [ + "# renovate: github-releases packageName=(?.+?)\\s+default:\\s\\'(?.+?)'\\s" + ] + }, + { + "customType": "regex", + "datasourceTemplate": "custom.k8s", + "depNameTemplate": "kubectl", + "description": "Update k8s images in action.yaml", + "fileMatch": [ + "^action\\.yaml$" + ], + "matchStrings": [ + "# renovate: k8s\\s+default:\\s\\'(?.+?)'\\s" + ] + } + ], + "customDatasources": { + "k8s": { + "defaultRegistryUrlTemplate": "https://storage.googleapis.com/kubernetes-release/release/stable.txt", + "format": "plain" + } + }, + "dependencyDashboard": true }