Skip to content

Commit

Permalink
renovate: kubernetes version starts with v
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Dec 29, 2024
1 parent f2a4b5e commit aacbaae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
- main
workflow_dispatch: {}

env:
kubernetes_version: 1.31.1 # datasource=github-releases depName=kubernetes/kubernetes

jobs:
test:
name: Test
Expand Down Expand Up @@ -50,7 +53,7 @@ jobs:
if: runner.os == 'Linux'
uses: medyagh/setup-minikube@master
with:
kubernetes-version: v1.31.1 # datasource=github-releases depName=kubernetes/kubernetes
kubernetes-version: v${{ env.kubernetes_version }}

- name: Run binary in the background
run: |
Expand Down
2 changes: 1 addition & 1 deletion .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"versioningTemplate": "semver"
},
{
"extractVersionTemplate": "^v(?<version>.*)$",
"extractVersionTemplate": "^v?(?<version>.*)$",
"fileMatch": ["^\\.github/workflows/.*\\.ya?ml$", "^\\.tool-versions$"],
"matchStrings": [
"(\\s+|.*?@)(?<currentValue>\\S+)\\s*#\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)(\\s+versioning=(?<versioning>\\S+))?(\\s+registryUrl=(?<registryUrl>\\S+))?\\s*\\n"
Expand Down

0 comments on commit aacbaae

Please sign in to comment.