fix: Kaniko skip-push-permission-check (#193) #218
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api!218
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "193-kaniko-skip-push-check"
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?
Summary
Kaniko's push permission check uses a separate HTTPS transport that ignores
--insecure-registry, causing a timeout when probing port 443 on the internal Harbor registry. Adding--skip-push-permission-checkviaextra_optsbypasses this probe entirely.Changes
.woodpecker.yaml: Addedextra_opts: "--skip-push-permission-check"to thebuild-and-pushstep settings, afterinsecure-registryTest Plan
Review Checklist
Related Notes
Closes forgejo_admin/pal-e-platform#193
QA Review
Diff: 1 file changed, 1 line added, 0 deleted.
Findings
extra_optsis the correct plugin-kaniko setting for passing additional Kaniko flags.--skip-push-permission-checkis a valid Kaniko flag that bypasses the HTTPS push permission probe.settings:block alongsideinsecureandinsecure-registry.build-and-pushstep (main branch pushes). No impact on test or migration-test steps.VERDICT: APPROVE
Clean single-line CI fix. No issues found.