/
cadvisor.yaml
45 lines (38 loc) · 1.02 KB
/
cadvisor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package:
name: cadvisor
version: 0.49.1
epoch: 2
description: Analyzes resource usage and performance characteristics of running containers.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- bash
- build-base
- busybox
- ca-certificates-bundle
- go-1.20 # Pinned to 1.20 due to upstream issues with 1.21
pipeline:
- uses: git-checkout
with:
repository: https://github.com/google/cadvisor
tag: v${{package.version}}
expected-commit: 6f3f25bac19f9f485935a19a28bdcf4edb507d80
- uses: go/bump
with:
deps: google.golang.org/protobuf@v1.33.0 github.com/golang/protobuf@v1.5.4
replaces: google.golang.org/protobuf=google.golang.org/protobuf@v1.33.0
go-version: 1.20
- runs: |
./build/build.sh
- runs: |
install -Dm755 _output/cadvisor "${{targets.destdir}}"/usr/bin/cadvisor
- uses: strip
update:
enabled: true
github:
identifier: google/cadvisor
strip-prefix: v
tag-filter: v
use-tag: true