Compare commits
No commits in common. "d9e3522aa29b07eda6ac6a8e0492d572822534ee" and "7f51e68e40a27cacdb879bd98b12778ff74a9427" have entirely different histories.
d9e3522aa2
...
7f51e68e40
3 changed files with 28 additions and 9 deletions
|
@ -5,9 +5,7 @@ pipeline:
|
||||||
- DOCKER_USERNAME
|
- DOCKER_USERNAME
|
||||||
- DOCKER_PASSWORD
|
- DOCKER_PASSWORD
|
||||||
repo: spcodes/cadvisor
|
repo: spcodes/cadvisor
|
||||||
tags:
|
tags: latest
|
||||||
- v0.38.8
|
|
||||||
- latest
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
@ -22,9 +20,7 @@ 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:
|
tags: latest
|
||||||
- v0.38.8
|
|
||||||
- latest
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
|
@ -13,7 +13,11 @@ RUN apk upgrade --no-cache \
|
||||||
# STEP 2 build the image including only the binary
|
# STEP 2 build the image including only the binary
|
||||||
FROM alpine:3.14.2@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a
|
FROM alpine:3.14.2@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a
|
||||||
|
|
||||||
RUN apk upgrade --no-cache && apk add libc6-compat device-mapper findutils zfs \
|
RUN apk upgrade --no-cache && apk add \
|
||||||
|
libc6-compat="1.2.2-r3" \
|
||||||
|
device-mapper="2.02.187-r1" \
|
||||||
|
findutils="4.8.0-r1" \
|
||||||
|
zfs="2.0.3-r1" \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY --from=builder /go/src/github.com/google/cadvisor/cadvisor /usr/bin/cadvisor
|
COPY --from=builder /go/src/github.com/google/cadvisor/cadvisor /usr/bin/cadvisor
|
||||||
|
|
|
@ -11,15 +11,26 @@
|
||||||
{
|
{
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
"^Dockerfile$",
|
"^Dockerfile$",
|
||||||
"^.woodpecker.yml$"
|
"^.drone.yml$"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\s+ENV\\s*CADVISOR_VERSION=\"(?<currentValue>.*?)\"\\s+",
|
"\\s+ENV\\s*CADVISOR_VERSION=\"(?<currentValue>.*?)\"\\s+",
|
||||||
"\\s+repo:\\s*\\S*\\/cadvisor\\s+tags:[-\\s]+(?<currentValue>.*?)\\s+"
|
"\\s+target:\\s*spcodes\\/cadvisor:(?<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": [
|
||||||
|
@ -31,6 +42,14 @@
|
||||||
"cadvisor"
|
"cadvisor"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"datasources": [
|
||||||
|
"repology"
|
||||||
|
],
|
||||||
|
"groupName": [
|
||||||
|
"base dependencies"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"datasources": [
|
"datasources": [
|
||||||
"docker"
|
"docker"
|
||||||
|
|
Loading…
Reference in a new issue