Skip to content

Commit 2e4b2aa

Browse files
committed
change
1 parent 78a8d8a commit 2e4b2aa

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/build-backend.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ jobs:
1010
name: Build
1111
runs-on: ${{ format('arm64-fargate-{0}{1}{2}', github.run_id, github.run_number, github.run_attempt) }}
1212
steps:
13-
- run: aws sts get-caller-identity
13+
- name: Configure AWS credentials
14+
uses: aws-actions/configure-aws-credentials@v4
15+
with:
16+
aws-region: eu-central-1
17+
# - run: tail -f /dev/null
1418
- name: Run kaniko
1519
run: |
1620
/kaniko/executor \

infrastructure/tools/github_runner_task.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@ resource "aws_iam_role_policy" "github_runner_execution_role_policy" {
4141
"ecr:BatchCheckLayerAvailability",
4242
"ecr:GetDownloadUrlForLayer",
4343
"ecr:BatchGetImage",
44+
"ecr:GetDownloadUrlForLayer",
45+
"ecr:BatchGetImage",
46+
"ecr:BatchCheckLayerAvailability",
47+
"ecr:PutImage",
48+
"ecr:InitiateLayerUpload",
49+
"ecr:UploadLayerPart",
50+
"ecr:CompleteLayerUpload",
51+
"ecr:DescribeRepositories",
52+
"ecr:GetRepositoryPolicy",
53+
"ecr:ListImages",
54+
"ecr:BatchDeleteImage",
4455
]
4556
Resource = "*"
4657
}

0 commit comments

Comments
 (0)