CI docker-publish: Kaniko push fails with HTTP/2 CANCEL stream error #42
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/fedinesia#42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
build_and_publish_containerstep in.woodpecker/docker-publish.yamlfails on every tag push with:This is a known transient HTTP/2 stream reset that occurs when Kaniko pushes multi-platform images to some OCI registries. No retry mechanism is currently configured, so a single transient failure aborts the entire publish step.
Findings
The
woodpeckerci/plugin-kanikoplugin supports apush_retrysetting that maps to the kaniko executor's--push-retryflag. The currentdocker-publish.yamlpasses no retry or HTTP/2-related flags.Plan of attack
push_retry: 3to thebuild_and_publish_containersettings block in.woodpecker/docker-publish.yaml.fix/issue-41-42-container-fixestogether with issue #41.