-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathmetacontroller.yaml
42 lines (37 loc) · 1015 Bytes
/
metacontroller.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
package:
name: metacontroller
version: 4.11.8
epoch: 0
description: Writing kubernetes controllers can be simple
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- go
- goreleaser-1.18 # This relies on a deprecated field removed in 1.19
- make
pipeline:
- uses: git-checkout
with:
repository: https://github.com/metacontroller/metacontroller
tag: v${{package.version}}
expected-commit: d51d65ae9797455935ab03154d50032cea457cd0
- runs: |
export PATH=$(go env GOPATH)/bin:$PATH
# fix CVE-2023-39325 and CVE-2023-3978.
go mod edit -dropreplace=golang.org/x/net
go mod tidy
make build
mkdir -p ${{targets.destdir}}/usr/bin
mv /home/build/metacontroller ${{targets.destdir}}/usr/bin/metacontroller
- uses: strip
update:
enabled: true
github:
identifier: metacontroller/metacontroller
strip-prefix: v