fix(ci): inline aws ecr get-login-password + docker login (followup #173) #46
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#46
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue173-inline-aws-ecr-login"
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 #987 (post-#45) confirmed
aws-actions/amazon-ecr-login@v2writes auth to a step-scopedDOCKER_CONFIGthat doesn't carry across to subsequent shell steps on Gitea Actions. Result:docker pushgotno basic auth credentialseven though the action reported success.Fix: drop both
aws-actions/configure-aws-credentials@v4andaws-actions/amazon-ecr-login@v2. Runaws ecr get-login-password | docker loginINLINE in the same shell step asdocker build+docker push. AWS creds come from secrets via env vars, ECR token is fresh per-step (12h validity is plenty), config.json lives in the same shell process — auth state is guaranteed.This is the operator-host manual approach mapped 1:1 into CI. runner-base image already has
aws-cli+docker(verified locally on the actual image).Closes #173 (fifth piece — final, this matches the manual flow exactly).
inline aws+docker login matches operator manual flow exactly. Should work.