fix(ci): use writable Docker config for canvas publish #1740

Merged
hongming merged 1 commits from fix/canvas-publish-docker-config into main 2026-05-23 21:48:45 +00:00
Owner

Fixes the post-merge canvas image publish failure observed after #1732 merged.

Root cause: publish runner job container inherited an unwritable Docker credential path, so docker login failed with Error saving credentials: mkdir /home/hongming: permission denied before buildx/image push started.

Change: mirror the workspace-server publish workflow pattern by setting DOCKER_CONFIG=$RUNNER_TEMP/docker-config and creating the buildx certs directory before ECR login.

Verification:

  • git diff --check
Fixes the post-merge canvas image publish failure observed after #1732 merged. Root cause: publish runner job container inherited an unwritable Docker credential path, so `docker login` failed with `Error saving credentials: mkdir /home/hongming: permission denied` before buildx/image push started. Change: mirror the workspace-server publish workflow pattern by setting `DOCKER_CONFIG=$RUNNER_TEMP/docker-config` and creating the buildx certs directory before ECR login. Verification: - `git diff --check`
hongming added 1 commit 2026-05-23 21:01:45 +00:00
fix(ci): use writable Docker config for canvas publish
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Waiting to run
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 6s
CI / Detect changes (pull_request) Successful in 9s
E2E API Smoke Test / detect-changes (pull_request) Successful in 9s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 8s
E2E Chat / detect-changes (pull_request) Successful in 10s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 7s
Harness Replays / detect-changes (pull_request) Successful in 6s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 4s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 4s
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 6s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Failing after 1m8s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 1m11s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 4s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 1m27s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 5s
gate-check-v3 / gate-check (pull_request) Successful in 3s
qa-review / approved (pull_request) Successful in 4s
security-review / approved (pull_request) Successful in 5s
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request) Successful in 4s
sop-checklist / review-refire (pull_request) Has been skipped
sop-tier-check / tier-check (pull_request) Successful in 4s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m5s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m21s
CI / Platform (Go) (pull_request) Successful in 7s
CI / Canvas (Next.js) (pull_request) Successful in 2s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
CI / all-required (pull_request) Successful in 7m34s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2s
E2E Chat / E2E Chat (pull_request) Successful in 2s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 2s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2s
Harness Replays / Harness Replays (pull_request) Successful in 1s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
cf43d2905f
core-qa approved these changes 2026-05-23 21:02:05 +00:00
Dismissed
core-qa left a comment
Member

QA approved: workflow-only fix mirrors existing publish-workspace-server Docker config setup.

QA approved: workflow-only fix mirrors existing publish-workspace-server Docker config setup.
core-qa approved these changes 2026-05-23 21:02:05 +00:00
Dismissed
core-qa left a comment
Member

Approved.

Approved.
core-security approved these changes 2026-05-23 21:02:06 +00:00
Dismissed
core-security left a comment
Member

Security approved: scopes Docker credential writes to job temp dir; no secret expansion or permission broadening.

Security approved: scopes Docker credential writes to job temp dir; no secret expansion or permission broadening.
core-security approved these changes 2026-05-23 21:02:07 +00:00
Dismissed
core-security left a comment
Member

Approved.

Approved.
app-fe force-pushed fix/canvas-publish-docker-config from cf43d2905f to a1cf56cdab 2026-05-23 21:11:56 +00:00 Compare
app-fe dismissed core-qa's review 2026-05-23 21:11:56 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

app-fe dismissed core-security's review 2026-05-23 21:11:56 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

core-qa approved these changes 2026-05-23 21:12:14 +00:00
core-qa left a comment
Member

QA approved after amended workflow lint tracker fix.

QA approved after amended workflow lint tracker fix.
core-qa approved these changes 2026-05-23 21:12:14 +00:00
core-qa left a comment
Member

Approved.

Approved.
core-security approved these changes 2026-05-23 21:12:15 +00:00
core-security left a comment
Member

Security approved after amended workflow lint tracker fix.

Security approved after amended workflow lint tracker fix.
core-security approved these changes 2026-05-23 21:12:15 +00:00
core-security left a comment
Member

Approved.

Approved.
hongming merged commit 93f5a4aac3 into main 2026-05-23 21:48:45 +00:00
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1740