Skip to content

Conversation

@cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Nov 17, 2025

ko build names the image after the name of the package that it's building, which in the case of the two tesseract binaries is just "gcp" and "posix", with no context on what those mean. This change extends the KO_DOCKER_REPO variable to include "tesseract" as part of the repo name, so the full image name will have "tesseract" in it.

When browsing the scaffolding images, both images will still just appear as "gcp" and "posix". The alternative solution to make them more distinguishable in the web UI would be to use --preserve-import-paths which would produce an image named
"github.com/transparency-dev/tesseract/cmd/tesseract/gcp", with full name
"ghcr.io/sigstore/scaffolding/tesseract/github.com/transparency-dev/tesseract/cmd/tesseract/gcp".

Summary

Release Note

Documentation

`ko build` names the image after the name of the package that it's
building, which in the case of the two tesseract binaries is just "gcp"
and "posix", with no context on what those mean. This change extends the
KO_DOCKER_REPO variable to include "tesseract" as part of the repo name,
so the full image name will have "tesseract" in it.

When browsing the scaffolding images, both images will still just appear
as "gcp" and "posix". The alternative solution to make them more
distinguishable in the web UI would be to use `--preserve-import-paths`
which would produce an image named
"github.com/transparency-dev/tesseract/cmd/tesseract/gcp", with full
name
"ghcr.io/sigstore/scaffolding/tesseract/github.com/transparency-dev/tesseract/cmd/tesseract/gcp".

Signed-off-by: Colleen Murphy <[email protected]>
@cmurphy cmurphy requested a review from a team as a code owner November 17, 2025 18:46
@haydentherapper haydentherapper merged commit 8e9b439 into sigstore:main Nov 17, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants