Compare commits
1 commit
cc8e737f48
...
c64b4f0b63
| Author | SHA1 | Date | |
|---|---|---|---|
| c64b4f0b63 |
2 changed files with 13 additions and 20 deletions
|
|
@ -1,17 +1,14 @@
|
|||
---
|
||||
# yamllint disable rule:line-length
|
||||
name: Build talosctl+talhelper+sops image (push on main only)
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
branches: [ "**" ]
|
||||
workflow_dispatch: {}
|
||||
|
||||
env:
|
||||
# Configure these in your repository Settings → Variables/Secrets
|
||||
# Configure these in your repository Settings → Variables/Secrets
|
||||
REGISTRY: ${{ vars.REGISTRY }}
|
||||
# e.g. forgejo.example.com/owner/talos-tools
|
||||
IMAGE_NAME: ${{ vars.IMAGE_NAME }}
|
||||
IMAGE_NAME: ${{ vars.IMAGE_NAME }} # e.g. forgejo.example.com/owner/talos-tools
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -98,4 +95,3 @@ jobs:
|
|||
run: |
|
||||
docker run --rm ${{ env.IMAGE_NAME }}:${{ steps.versions.outputs.tag }} sh -lc \
|
||||
'talosctl version --client && talhelper --version && sops --version'
|
||||
...
|
||||
|
|
@ -3,13 +3,12 @@
|
|||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"enabledManagers": ["custom.regex", "dockerfile"],
|
||||
"enabledManagers": ["regex", "docker"],
|
||||
"pinDigests": true,
|
||||
"customManagers": [
|
||||
"regexManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["^Dockerfile$"],
|
||||
"matchStrings": [
|
||||
"fileMatch": ["^Dockerfile$"]
|
||||
,"matchStrings": [
|
||||
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+TALOSCTL_VERSION=(?<currentValue>[^\\n]+)"
|
||||
],
|
||||
"datasourceTemplate": "{{{datasource}}}",
|
||||
|
|
@ -19,9 +18,8 @@
|
|||
"autoReplaceStringTemplate": "ARG TALOSCTL_VERSION={{newValue}}"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["^Dockerfile$"],
|
||||
"matchStrings": [
|
||||
"fileMatch": ["^Dockerfile$"]
|
||||
,"matchStrings": [
|
||||
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+TALHELPER_VERSION=(?<currentValue>[^\\n]+)"
|
||||
],
|
||||
"datasourceTemplate": "{{{datasource}}}",
|
||||
|
|
@ -31,9 +29,8 @@
|
|||
"autoReplaceStringTemplate": "ARG TALHELPER_VERSION={{newValue}}"
|
||||
},
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["^Dockerfile$"],
|
||||
"matchStrings": [
|
||||
"fileMatch": ["^Dockerfile$"]
|
||||
,"matchStrings": [
|
||||
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)\\s+versioning=(?<versioning>[^\\s]+)\\nARG\\s+SOPS_VERSION=(?<currentValue>[^\\n]+)"
|
||||
],
|
||||
"datasourceTemplate": "{{{datasource}}}",
|
||||
|
|
@ -46,7 +43,7 @@
|
|||
"packageRules": [
|
||||
{
|
||||
"description": "Group all tool bumps into one PR",
|
||||
"matchManagers": ["custom.regex"],
|
||||
"matchManagers": ["regex"],
|
||||
"groupName": "talos tools versions",
|
||||
"prPriority": 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue