Skip to content

Commit

Permalink
fix ko config (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato authored Mar 8, 2022
1 parent ee280c4 commit fdc5bdd
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,71 +3,55 @@ defaultBaseImage: gcr.io/distroless/base:nonroot
builds:
- id: ctlog
dir: .
main: ./cmd/ctlog
main: ./cmd/ctlog/createctconfig
env:
- CGO_ENABLED=0
flags:
- -trimpath
- -tags
- nostackdriver
- -tags
- "{{ .Env.GIT_HASH }}"
- -tags
- "{{ .Env.GIT_VERSION }}"
ldflags:
- -s
- -w
- -extldflags "-static"

- id: fulcio
dir: .
main: ./cmd/fulcio
main: ./cmd/fulcio/createcerts
env:
- CGO_ENABLED=0
flags:
- -trimpath
- -tags
- nostackdriver
- -tags
- "{{ .Env.GIT_HASH }}"
- -tags
- "{{ .Env.GIT_VERSION }}"
ldflags:
- -s
- -w
- -extldflags "-static"

- id: rekor
dir: .
main: ./cmd/rekor
main: ./cmd/rekor/checktree
env:
- CGO_ENABLED=0
flags:
- -trimpath
- -tags
- nostackdriver
- -tags
- "{{ .Env.GIT_HASH }}"
- -tags
- "{{ .Env.GIT_VERSION }}"
ldflags:
- -s
- -w
- -extldflags "-static"

- id: trillian
dir: .
main: ./cmd/trillian
main: ./cmd/trillian/createtree
env:
- CGO_ENABLED=0
flags:
- -trimpath
- -tags
- nostackdriver
- -tags
- "{{ .Env.GIT_HASH }}"
- -tags
- "{{ .Env.GIT_VERSION }}"
ldflags:
- -s
- -w
Expand Down

0 comments on commit fdc5bdd

Please sign in to comment.