Skip to content

Commit

Permalink
fix(ci): login to ecr to fetch contracts image (#3538)
Browse files Browse the repository at this point in the history
need to perform `ecr_login` before running script on docker image that's
deployed on ECR

# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
  • Loading branch information
spypsy authored Dec 4, 2023
1 parent d51df8c commit b033538
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions l1-contracts/scripts/ci_deploy_contracts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ if check_rebuild "cache-$CONTENT_HASH-$DEPLOY_TAG-deployed" $REPOSITORY; then
exit 0
fi

# Login to pull our ecr images with docker.
ecr_login

mkdir -p serve
# Contract addresses will be mounted in the serve directory
docker run \
Expand Down

0 comments on commit b033538

Please sign in to comment.