fix(ci): replace buildx with plain docker build+push (followup #173) #45
No reviewers
Labels
No Label
tier:high
tier:low
tier:medium
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#45
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue173-shell-docker-push"
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
CI run #946 (post-#43) confirmed
driver: dockerdoesn't fix the ECR push 401 either. Buildx CLI inside the runner container talks to the operator-host docker daemon (mounted socket), but the daemon doesn't see the runner's ECR auth state, and the runner's buildx CLI doesn't attach the auth header in a way the daemon accepts.Fix: drop buildx +
docker/build-push-actionentirely. Plaindocker build+docker pushfrom the runner container works because both use the SAME docker socket + the SAME runner-containerconfig.json(populated byaws ecr get-login-password | docker loginfrom amazon-ecr-login).Trade-off: lose multi-arch support. We only ship linux/amd64 tenant images today, so this is fine. If multi-arch becomes a requirement later we revisit (likely with
docker buildx create --driver=remote).Changes
docker/setup-buildx-actionstepdocker/build-push-actionsteps with explicitdocker build+docker pushshellCloses #173 (fourth piece — matches operator-host manual approach exactly).
plain docker build+push matches operator-host manual approach. Right call after #43 driver attempt didn't take.