diff --git a/ko-fips.yaml b/ko-fips.yaml new file mode 100644 index 0000000000..0e1c014d84 --- /dev/null +++ b/ko-fips.yaml @@ -0,0 +1,36 @@ +package: + name: ko-fips + version: 0.14.1 + epoch: 0 + description: Simple, fast container image builder for Go applications. + copyright: + - license: Apache-2.0 + +environment: + contents: + packages: + - ca-certificates-bundle + - busybox + - go-fips + environment: + CGO_ENABLED: "0" + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/ko-build/ko + tag: v${{package.version}} + expected-commit: 200db7243f02b5c0303e21d8ab8e3b4ad3a229d0 + destination: ko + + - runs: | + cd ko + go build -o "${{targets.destdir}}"/usr/bin/ko \ + -ldflags "-s -w -X github.com/google/ko/pkg/commands.Version=${{package.version}}" \ + -trimpath + +update: + enabled: true + github: + identifier: ko-build/ko + strip-prefix: v