The first main run after the image-job change failed at the push:
Error response from daemon: Get "https://gitea-http.gitea.svc.cluster.local:3000/v2/": http: server gave HTTP response to HTTPS client
On main and tags GITHUB_SERVER_URL is the in-cluster plain-HTTP address; the runner's Docker daemon only pushes over HTTPS there. Kaniko and tools/image -insecure handled HTTP, and PR runs never push, so the PR checks were green.
What
The image is still built with docker build; the push now runs with crane (Alpine package): docker save → crane push of the version tag, then crane tag for the channels (edge, beta, latest/stable/X.Y). --insecure only when the server URL is http://.
Tested locally
Same steps in node:24-alpine against a plain-HTTP registry:2 reached by a non-localhost name: version tag and edge pushed with the same digest, image config (entrypoint, nonroot) intact.
## Why
The first main run after the image-job change failed at the push:
```
Error response from daemon: Get "https://gitea-http.gitea.svc.cluster.local:3000/v2/": http: server gave HTTP response to HTTPS client
```
On main and tags `GITHUB_SERVER_URL` is the in-cluster plain-HTTP address; the runner's Docker daemon only pushes over HTTPS there. Kaniko and `tools/image -insecure` handled HTTP, and PR runs never push, so the PR checks were green.
## What
The image is still built with `docker build`; the push now runs with `crane` (Alpine package): `docker save` → `crane push` of the version tag, then `crane tag` for the channels (`edge`, `beta`, `latest`/`stable`/`X.Y`). `--insecure` only when the server URL is `http://`.
## Tested locally
Same steps in `node:24-alpine` against a plain-HTTP `registry:2` reached by a non-localhost name: version tag and `edge` pushed with the same digest, image config (entrypoint, `nonroot`) intact.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
On main and tags GITHUB_SERVER_URL is http://gitea-http.gitea.svc...,
and the runner's Docker daemon refused to push there: "server gave HTTP
response to HTTPS client". crane pushes the saved image with --insecure
for http:// servers and tags the channels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sebi
merged commit 18eb750ccb into main2026-12-05 17:18:01 +00:00
Sebi
deleted branch ci/image-push-crane2026-12-05 17:18:04 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
The first main run after the image-job change failed at the push:
On main and tags
GITHUB_SERVER_URLis the in-cluster plain-HTTP address; the runner's Docker daemon only pushes over HTTPS there. Kaniko andtools/image -insecurehandled HTTP, and PR runs never push, so the PR checks were green.What
The image is still built with
docker build; the push now runs withcrane(Alpine package):docker save→crane pushof the version tag, thencrane tagfor the channels (edge,beta,latest/stable/X.Y).--insecureonly when the server URL ishttp://.Tested locally
Same steps in
node:24-alpineagainst a plain-HTTPregistry:2reached by a non-localhost name: version tag andedgepushed with the same digest, image config (entrypoint,nonroot) intact.🤖 Generated with Claude Code