Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions paranoia.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: paranoia
version: 0.2.1
epoch: 1
epoch: 2
description: Inspect certificate authorities in container images
copyright:
- license: Apache-2.0
Expand All @@ -13,21 +13,24 @@ environment:
- busybox
- build-base
- go
- ca-certificates-bundle

pipeline:
# We can't use go/install because this requires specific ldflags to set the version
- uses: git-checkout
with:
repository: https://github.com/jetstack/paranoia
tag: v${{package.version}}
expected-commit: 1f670639114b5b1c3696b93319f3c9175085084a
destination: paranoia

- runs: |
cd paranoia
mkdir -p ${{targets.destdir}}/usr/bin
# GHSA-hqxw-f8mx-cpmw
go get github.com/docker/[email protected]

# GHSA-232p-vwff-86mp, GHSA-33pg-m6jh-5237, GHSA-6wrf-mxfj-pf5p
go get github.com/docker/[email protected]

CGO_ENABLED=0 GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -a -installsuffix cgo -o paranoia .

mkdir -p ${{targets.destdir}}/usr/bin
install -Dm755 ./paranoia ${{targets.destdir}}/usr/bin/paranoia

update:
Expand Down