Compare commits

..

1 commit

Author SHA1 Message Date
cc8e737f48
Init
Some checks failed
Checking yaml / Run yamllint (pull_request) Failing after 5s
Checking Renovate configuration / validate (pull_request) Successful in 1m29s
Build talosctl+talhelper+sops image (push on main only) / build (push) Successful in 4m49s
2025-11-24 16:35:04 +11:00
2 changed files with 20 additions and 13 deletions

View file

@ -1,6 +1,8 @@
---
# yamllint disable rule:line-length
name: Build talosctl+talhelper+sops image (push on main only) name: Build talosctl+talhelper+sops image (push on main only)
on: on: # yamllint disable-line rule:truthy
push: push:
branches: ["**"] branches: ["**"]
workflow_dispatch: {} workflow_dispatch: {}
@ -8,7 +10,8 @@ on:
env: env:
# Configure these in your repository Settings → Variables/Secrets # Configure these in your repository Settings → Variables/Secrets
REGISTRY: ${{ vars.REGISTRY }} REGISTRY: ${{ vars.REGISTRY }}
IMAGE_NAME: ${{ vars.IMAGE_NAME }} # e.g. forgejo.example.com/owner/talos-tools # e.g. forgejo.example.com/owner/talos-tools
IMAGE_NAME: ${{ vars.IMAGE_NAME }}
jobs: jobs:
build: build:
@ -95,3 +98,4 @@ jobs:
run: | run: |
docker run --rm ${{ env.IMAGE_NAME }}:${{ steps.versions.outputs.tag }} sh -lc \ docker run --rm ${{ env.IMAGE_NAME }}:${{ steps.versions.outputs.tag }} sh -lc \
'talosctl version --client && talhelper --version && sops --version' 'talosctl version --client && talhelper --version && sops --version'
...

View file

@ -3,12 +3,13 @@
"extends": [ "extends": [
"config:recommended" "config:recommended"
], ],
"enabledManagers": ["regex", "docker"], "enabledManagers": ["custom.regex", "dockerfile"],
"pinDigests": true, "pinDigests": true,
"regexManagers": [ "customManagers": [
{ {
"fileMatch": ["^Dockerfile$"] "customType": "regex",
,"matchStrings": [ "fileMatch": ["^Dockerfile$"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+TALOSCTL_VERSION=(?<currentValue>[^\\n]+)" "#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+TALOSCTL_VERSION=(?<currentValue>[^\\n]+)"
], ],
"datasourceTemplate": "{{{datasource}}}", "datasourceTemplate": "{{{datasource}}}",
@ -18,8 +19,9 @@
"autoReplaceStringTemplate": "ARG TALOSCTL_VERSION={{newValue}}" "autoReplaceStringTemplate": "ARG TALOSCTL_VERSION={{newValue}}"
}, },
{ {
"fileMatch": ["^Dockerfile$"] "customType": "regex",
,"matchStrings": [ "fileMatch": ["^Dockerfile$"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+TALHELPER_VERSION=(?<currentValue>[^\\n]+)" "#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+TALHELPER_VERSION=(?<currentValue>[^\\n]+)"
], ],
"datasourceTemplate": "{{{datasource}}}", "datasourceTemplate": "{{{datasource}}}",
@ -29,8 +31,9 @@
"autoReplaceStringTemplate": "ARG TALHELPER_VERSION={{newValue}}" "autoReplaceStringTemplate": "ARG TALHELPER_VERSION={{newValue}}"
}, },
{ {
"fileMatch": ["^Dockerfile$"] "customType": "regex",
,"matchStrings": [ "fileMatch": ["^Dockerfile$"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+SOPS_VERSION=(?<currentValue>[^\\n]+)" "#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+SOPS_VERSION=(?<currentValue>[^\\n]+)"
], ],
"datasourceTemplate": "{{{datasource}}}", "datasourceTemplate": "{{{datasource}}}",
@ -43,7 +46,7 @@
"packageRules": [ "packageRules": [
{ {
"description": "Group all tool bumps into one PR", "description": "Group all tool bumps into one PR",
"matchManagers": ["regex"], "matchManagers": ["custom.regex"],
"groupName": "talos tools versions", "groupName": "talos tools versions",
"prPriority": 0 "prPriority": 0
} }