File tree 2 files changed +47
-1
lines changed
2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 86
86
with :
87
87
push : true
88
88
tags : h4ckermike/elizaos-eliza:experimental
89
+
90
+ # push to ecr
91
+ - name : Configure AWS credentials
92
+ uses : meta-introspector/configure-aws-credentials@v4
93
+ with :
94
+ aws-region : ${{ secrets.AWS_REGION || 'us-east-2'}}
95
+ role-session-name : github-actions-${{ env.APP_NAME || 'eliza'}}
96
+ # FIXME hard coded
97
+ role-to-assume : arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID || '767503528736' }}:role/github
98
+
99
+ - name : Login to Amazon ECR
100
+ id : login-ecr
101
+ uses : meta-introspector/amazon-ecr-login@v1
102
+
103
+ - name : Set short sha
104
+ id : sha_short
105
+ run : echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
106
+
107
+ - name : Build and push ecr
108
+ uses : meta-introspector/build-push-action@v6.10.0
109
+ with :
110
+ push : true
111
+ tags : ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY || 'agent/eliza'}}:latest
112
+ cache-from : type=gha
113
+ cache-to : type=gha,mode=max
114
+ provenance : false
Original file line number Diff line number Diff line change 1
- # debug
1
+ # setup
2
+ we dont use terraform for the ecr or the secrets because they will change so often here are the simple aws scripts for them.
3
+
4
+ ` aws ecr create-repository --repository-name agent/eliza `
5
+
6
+ ` set_secrets.sh ` calls
7
+ ` aws ssm put-parameter --name "agent_openai_key" --value "${OPENAI_API_KEY}" --type String `
8
+
9
+ ## connecting with server
10
+
11
+ ` ssh-ssm.py ` to find the server
2
12
13
+ for example:
14
+ ` aws ssm start-session --target i-0e156165e86473c93 --profile mdupont --region us-east-2 `
15
+
16
+ ## terraform-aws-oidc-github
17
+ https://github.com/jmikedupont2/terraform-aws-oidc-github
18
+
19
+ in my time 2024/12/18/terraform-aws-oidc-github on branch
20
+ run the tofu apply in the example after editing the variables and files.
21
+
22
+ # debug
3
23
` pnpm start:debug --characters=./characters/eliza.character.json `
4
24
5
25
start direct client here
You can’t perform that action at this time.
0 commit comments