Skip to content

fix(ci): skip registry writes for pull requests - #108

Merged
appleboy merged 1 commit into
masterfrom
fix/ci-validation
Nov 28, 2026
Merged

appleboy merged 1 commit into
masterfrom
fix/ci-validation

Conversation

@appleboy

Copy link
Copy Markdown
Owner

Dependabot PR builds fail with Username and password required because Docker Hub secrets are unavailable. Gate registry login on non-PR events while retaining image builds and vulnerability scanning. Also disable registry cache export on PRs.

Classification: Leaf — isolated CI configuration. Plan: fix PR validation without changing release publishing.

Verification: actionlint .github/workflows/docker.yml and git diff --check passed. Static checks confirmed registry login is disabled for pull_request, enabled for push/tag events, and image push retains its existing non-PR guard. After checking out fix/ci-validation, run those commands from the repo root. GitHub Actions must confirm Docker build and scanning succeed; release publishing was not run locally because it writes production registries.

AI authorship: Codex authored .github/workflows/docker.yml; no human line-by-line review yet. One reviewer recommended. Screenshots/performance evidence: N/A (CI only). Rollback: revert this commit. No related issue.

@appleboy
appleboy merged commit 7705bdc into master Nov 28, 2026
12 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.

1 participant