-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathchartmuseum.yaml
46 lines (40 loc) · 1.15 KB
/
chartmuseum.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
46
package:
name: chartmuseum
version: 0.16.1
epoch: 3
description: helm chart repository server
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ca-certificates-bundle
environment:
contents:
packages:
- bash
- build-base
- busybox
- ca-certificates-bundle
- go
pipeline:
- uses: git-checkout
with:
expected-commit: f00683f2e100dceec0af7f1629e98713a9c0a1e4
repository: https://github.com/helm/chartmuseum
tag: v${{package.version}}
- uses: go/bump
with:
deps: golang.org/x/[email protected] google.golang.org/[email protected] golang.org/x/[email protected] github.com/containerd/[email protected] github.com/docker/[email protected] helm.sh/helm/[email protected]
replaces: oras.land/oras-go=oras.land/[email protected]
go-version: 1.21
- runs: |
CGO_ENABLED=0 go build --ldflags="-s -w -X main.Version=${{package.version}} \
-X main.Revision=$(git rev-parse --short HEAD)" \
-o "${{targets.destdir}}/usr/bin/chartmuseum" \
cmd/chartmuseum/main.go
- uses: strip
update:
enabled: true
github:
identifier: helm/chartmuseum
strip-prefix: v