minor improvements

This commit is contained in:
Samuel Philipp 2021-11-04 23:11:17 +01:00
parent 7f51e68e40
commit 6872d91892
2 changed files with 8 additions and 23 deletions

View file

@ -5,7 +5,9 @@ pipeline:
- DOCKER_USERNAME - DOCKER_USERNAME
- DOCKER_PASSWORD - DOCKER_PASSWORD
repo: spcodes/cadvisor repo: spcodes/cadvisor
tags: latest tags:
- v0.38.8
- latest
when: when:
branch: branch:
- main - main
@ -20,7 +22,9 @@ pipeline:
target: DOCKER_PASSWORD target: DOCKER_PASSWORD
registry: cr.sp-codes.de registry: cr.sp-codes.de
repo: cr.sp-codes.de/cadvisor repo: cr.sp-codes.de/cadvisor
tags: latest tags:
- v0.38.8
- latest
when: when:
branch: branch:
- main - main

View file

@ -11,26 +11,15 @@
{ {
"fileMatch": [ "fileMatch": [
"^Dockerfile$", "^Dockerfile$",
"^.drone.yml$" "^.woodpecker.yml$"
], ],
"matchStrings": [ "matchStrings": [
"\\s+ENV\\s*CADVISOR_VERSION=\"(?<currentValue>.*?)\"\\s+", "\\s+ENV\\s*CADVISOR_VERSION=\"(?<currentValue>.*?)\"\\s+",
"\\s+target:\\s*spcodes\\/cadvisor:(?<currentValue>.*?)\\s+" "\\s+repo:\\s*\\S*\\/cadvisor\\s+tags:[-\\s]+(?<currentValue>.*?)\\s+"
], ],
"versioningTemplate": "loose", "versioningTemplate": "loose",
"depNameTemplate": "google/cadvisor", "depNameTemplate": "google/cadvisor",
"datasourceTemplate": "github-releases" "datasourceTemplate": "github-releases"
},
{
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"\\s+(?<depName>[a-z0-9\\-]+?)=\"(?<currentValue>.*?)\""
],
"lookupNameTemplate": "alpine_3_14/{{{depName}}}",
"versioningTemplate": "loose",
"datasourceTemplate": "repology"
} }
], ],
"packageRules": [ "packageRules": [
@ -42,14 +31,6 @@
"cadvisor" "cadvisor"
] ]
}, },
{
"datasources": [
"repology"
],
"groupName": [
"base dependencies"
]
},
{ {
"datasources": [ "datasources": [
"docker" "docker"