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)
|
name: Build talosctl+talhelper+sops image (push on main only)
|
||||||
|
|
||||||
on: # yamllint disable-line rule:truthy
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["**"]
|
branches: [ "**" ]
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Configure these in your repository Settings → Variables/Secrets
|
# Configure these in your repository Settings → Variables/Secrets
|
||||||
REGISTRY: ${{ vars.REGISTRY }}
|
REGISTRY: ${{ vars.REGISTRY }}
|
||||||
# e.g. forgejo.example.com/owner/talos-tools
|
IMAGE_NAME: ${{ vars.IMAGE_NAME }} # e.g. forgejo.example.com/owner/talos-tools
|
||||||
IMAGE_NAME: ${{ vars.IMAGE_NAME }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -98,4 +95,3 @@ 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'
|
||||||
...
|
|
||||||
|
|
@ -3,13 +3,12 @@
|
||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended"
|
"config:recommended"
|
||||||
],
|
],
|
||||||
"enabledManagers": ["custom.regex", "dockerfile"],
|
"enabledManagers": ["regex", "docker"],
|
||||||
"pinDigests": true,
|
"pinDigests": true,
|
||||||
"customManagers": [
|
"regexManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"fileMatch": ["^Dockerfile$"]
|
||||||
"fileMatch": ["^Dockerfile$"],
|
,"matchStrings": [
|
||||||
"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}}}",
|
||||||
|
|
@ -19,9 +18,8 @@
|
||||||
"autoReplaceStringTemplate": "ARG TALOSCTL_VERSION={{newValue}}"
|
"autoReplaceStringTemplate": "ARG TALOSCTL_VERSION={{newValue}}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"fileMatch": ["^Dockerfile$"]
|
||||||
"fileMatch": ["^Dockerfile$"],
|
,"matchStrings": [
|
||||||
"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}}}",
|
||||||
|
|
@ -31,9 +29,8 @@
|
||||||
"autoReplaceStringTemplate": "ARG TALHELPER_VERSION={{newValue}}"
|
"autoReplaceStringTemplate": "ARG TALHELPER_VERSION={{newValue}}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"fileMatch": ["^Dockerfile$"]
|
||||||
"fileMatch": ["^Dockerfile$"],
|
,"matchStrings": [
|
||||||
"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}}}",
|
||||||
|
|
@ -46,7 +43,7 @@
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Group all tool bumps into one PR",
|
"description": "Group all tool bumps into one PR",
|
||||||
"matchManagers": ["custom.regex"],
|
"matchManagers": ["regex"],
|
||||||
"groupName": "talos tools versions",
|
"groupName": "talos tools versions",
|
||||||
"prPriority": 0
|
"prPriority": 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue