Skip to content

Commit b4a8ae1

Browse files
committed
change
1 parent 7dd113a commit b4a8ae1

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

infrastructure/tools/github_runner_task.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ resource "aws_ecs_task_definition" "github_runner" {
6565
container_definitions = jsonencode([
6666
{
6767
name = "runner"
68-
image = "ghcr.io/actions/actions-runner:2.321.0"
68+
image = "ghcr.io/pythonitalia/pycon/kaniko:latest"
6969
essential = true
7070
entrypoint = ["bash", "-c"]
7171
portMappings = []
@@ -77,7 +77,7 @@ resource "aws_ecs_task_definition" "github_runner" {
7777
"awslogs-stream-prefix" = "runner"
7878
}
7979
}
80-
},
80+
}
8181
])
8282

8383
runtime_platform {
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM gcr.io/kaniko-project/executor:debug AS kaniko
2+
3+
FROM ghcr.io/actions/actions-runner:2.321.0
4+
5+
COPY --from=kaniko /kaniko/ /kaniko/
6+
7+
ENV SSL_CERT_DIR /kaniko/ssl/certs
8+
ENV PATH $PATH:/usr/local/bin:/kaniko
9+
ENV DOCKER_CONFIG /kaniko/.docker/
10+
11+
USER root

0 commit comments

Comments
 (0)