File tree Expand file tree Collapse file tree 3 files changed +8
-13
lines changed
Expand file tree Collapse file tree 3 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 deploy-lambdas :
10- runs-on : ubuntu-24.04 -arm
10+ runs-on : ubuntu-latest -arm
1111 container : amazonlinux:2023
1212
1313 env :
4848 tr '\n' ' '
4949 )" >> $GITHUB_OUTPUT
5050
51- - name : Build lambdas
51+ - name : Build and package lambdas
5252 run : |
5353 mkdir ./zips
5454 for name in ${{ steps.find_package_names.outputs.names }}; do
6767 path : .build
6868 key : " lambdas-build-${{ runner.os }}-${{ github.event.after }}"
6969
70- - name : Package and deploy lambdas
70+ - name : Deploy lambdas
7171 run : |
7272 for name in ${{ steps.find_package_names.outputs.names }}; do
7373 aws s3api put-object \
Original file line number Diff line number Diff line change 99 deploy :
1010 name : Deploy Stack
1111
12- runs-on : ubuntu-latest
12+ runs-on : ubuntu-latest-arm
1313
1414 container : swift:6.2-noble
1515
7171 ECR_REPOSITORY : penny-bot-discord-image
7272 IMAGE_TAG : ${{ github.sha }}
7373 run : |
74- # Build a docker container and
75- # push it to ECR so that it can
76- # be deployed to ECS.
7774 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f Dockerfile . \
7875 --build-arg SWIFT_CONFIGURATION=release \
7976 --build-arg EXEC_NAME=Penny
Original file line number Diff line number Diff line change 55 {
66 "name" : " penny-bot" ,
77 "image" : " 177420307256.dkr.ecr.eu-west-1.amazonaws.com/penny-bot-discord-image:latest" ,
8- "portMappings" : [
9- {
10- "containerPort" : 8080 ,
11- "protocol" : " tcp"
12- }
13- ],
148 "essential" : true ,
159 "logConfiguration" : {
1610 "logDriver" : " awslogs" ,
5751 "requiresCompatibilities" : [
5852 " FARGATE"
5953 ],
54+ "runtimePlatform" : {
55+ "cpuArchitecture" : " ARM64" ,
56+ "operatingSystemFamily" : " LINUX"
57+ },
6058 "cpu" : " 256" ,
6159 "memory" : " 512" ,
6260 "executionRoleArn" : " arn:aws:iam::177420307256:role/ecsTaskExecutionRole" ,
You can’t perform that action at this time.
0 commit comments