-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathko.yaml
57 lines (50 loc) · 1.11 KB
/
ko.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
package:
name: ko
version: 0.17.1
epoch: 9
description: Simple, fast container image builder for Go applications.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
environment:
CGO_ENABLED: "0"
pipeline:
- uses: git-checkout
with:
destination: ko
expected-commit: fd1f25182dd0f916eaae4996bbad4618e8f3d567
repository: https://github.com/ko-build/ko
tag: v${{package.version}}
- uses: go/bump
with:
deps: |-
github.com/golang-jwt/jwt/v4@v4.5.1
github.com/go-jose/go-jose/v4@v4.0.5
golang.org/x/crypto@v0.35.0
golang.org/x/oauth2@v0.27.0
golang.org/x/net@v0.36.0
modroot: ko
- uses: go/build
with:
ldflags: -X github.com/google/ko/pkg/commands.Version=${{package.version}}
modroot: ko
output: ko
packages: .
vendor: true
- uses: strip
update:
enabled: true
github:
identifier: ko-build/ko
strip-prefix: v
test:
pipeline:
# AUTOGENERATED
- runs: |
ko --help
ko version