forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cfssl.yaml
72 lines (64 loc) · 1.59 KB
/
cfssl.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package:
name: cfssl
version: 1.6.5
epoch: 11
description: Cloudflare's PKI and TLS toolkit
copyright:
- license: BSD-2-Clause
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
- openssf-compiler-options
pipeline:
- uses: git-checkout
with:
repository: https://github.com/cloudflare/cfssl
tag: v${{package.version}}
expected-commit: 96259aa29c9cc9b2f4e04bad7d4bc152e5405dda
- uses: go/bump
with:
deps: google.golang.org/[email protected] golang.org/x/[email protected] golang.org/x/[email protected]
- uses: go/build
with:
packages: ./cmd/cfssl
output: cfssl
ldflags: -s -w -X github.com/cloudflare/cfssl/cli/version.version=${{package.version}}
vendor: true
data:
- name: binaries
items:
bundle: cfssl-bundle
certinfo: cfssl-certinfo
newkey: cfssl-newkey
scan: cfssl-scan
json: cfssljson
mkbundle: mkbundle
multirootca: multirootca
subpackages:
- range: binaries
name: "${{package.name}}-${{range.key}}"
pipeline:
- uses: go/build
with:
packages: ./cmd/${{range.value}}
output: ${{range.value}}
ldflags: -s -w -X github.com/cloudflare/cfssl/cli/version.version=${{package.version}}
vendor: true
test:
pipeline:
- runs: |
echo "Testing ${{range.value}}"
${{range.value}} -h
update:
enabled: true
github:
identifier: cloudflare/cfssl
strip-prefix: v
test:
pipeline:
- runs: |
echo "Testing cfssl"
cfssl -h