fix(ci): use writable Docker config for canvas publish #1740
Reference in New Issue
Block a user
Delete Branch "fix/canvas-publish-docker-config"
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?
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 loginfailed withError saving credentials: mkdir /home/hongming: permission deniedbefore buildx/image push started.Change: mirror the workspace-server publish workflow pattern by setting
DOCKER_CONFIG=$RUNNER_TEMP/docker-configand creating the buildx certs directory before ECR login.Verification:
git diff --checkQA approved: workflow-only fix mirrors existing publish-workspace-server Docker config setup.
Approved.
Security approved: scopes Docker credential writes to job temp dir; no secret expansion or permission broadening.
Approved.
cf43d2905ftoa1cf56cdabNew commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings
QA approved after amended workflow lint tracker fix.
Approved.
Security approved after amended workflow lint tracker fix.
Approved.