Supply-chain security tools for the tssc-validated-pattern pipelines, built as one Go binary in one container image.
cmd/tssc/ single entrypoint
internal/
cli/ subcommand wiring, flag surface, env fallbacks
tekton/ result files, CA bundle
version/ build metadata stamped in by the linker
tekton/tasks/ thin Task wrappers that exec the binary
The image also installs busybox-style symlinks, so a Task can call
rhtpa-analyze instead of tssc rhtpa analyze. See
internal/cli/root.go:argv0Aliases.
- Every flag also accepts an environment variable (e.g.
--component/COMPONENT_NAME); flags win when both are set. The mapping is declared per command. - Tekton results are written to
/tekton/resultswhen it exists, and skipped otherwise. - Tasks in
tekton/tasks/map params to flags and nothing else — noscript:blocks.
quay.io/project-lightpath/tssc-cli-tools, built for linux/amd64 and
linux/arm64. CI publishes on every merge to main and on v* tags. Release
tags must use the vMAJOR.MINOR.PATCH form, such as v1.2.3:
| tag | meaning |
|---|---|
sha-<full-commit>-run-<run-id>-<attempt> |
one workflow attempt for a commit; unique across reruns and release events |
latest |
newest main commit whose serialized promotion passed the freshness check |
vX.Y.Z |
release tag for a vMAJOR.MINOR.PATCH push |
Pin by digest in a Tekton Task rather than by tag — the digest is printed in the publish job's summary:
image: quay.io/project-lightpath/tssc-cli-tools@sha256:...make # tidy, vet, test, build
make test # go test ./... -race
make image # podman build