https://github.com/stevenacoffman/repro
Reproduce a bug in google/ko
https://github.com/stevenacoffman/repro
Last synced: 23 days ago
JSON representation
Reproduce a bug in google/ko
- Host: GitHub
- URL: https://github.com/stevenacoffman/repro
- Owner: StevenACoffman
- Created: 2021-10-12T23:12:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T08:58:38.000Z (over 2 years ago)
- Last Synced: 2025-08-04T08:14:33.760Z (10 months ago)
- Language: Shell
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Repro
This repository reproduces a possible bug I found with google/ko in a private repository, or at least a misconfiguration that does not yield an immediate, helpful error.
If you run:
```
cd sub
./ko.sh
```
The terminal will just hang there until you hit Ctrl-c.
At which point, it (at least on my MacOSX machine) will then say:
```
2021/12/16 19:48:53 Using base gcr.io/distroless/static:nonroot for github.com/StevenACoffman/repro/sub
2021/12/16 19:48:55 Using build config my-build for github.com/StevenACoffman/repro/sub
Error: failed to publish images: error building "ko://github.com/StevenACoffman/repro/sub": template: argsTmpl:1:60: executing "argsTmpl" at <.Env.APP>: map has no entry for key "APP"
2021/12/16 19:48:55 error during command execution:failed to publish images: error building "ko://github.com/StevenACoffman/repro/sub": template: argsTmpl:1:60: executing "argsTmpl" at <.Env.APP>: map has no entry for key "APP"
```