feat(edge): Enabled the buildkit docker driver for rootless operation, but with appamor requirement instead
This commit is contained in:
parent
fe530636d4
commit
40dec1b6fd
3 changed files with 3 additions and 2 deletions
|
|
@ -158,7 +158,7 @@ func GetPodSpec(gitHubScope GitHubScopeDetails, bootstrapParams params.Bootstrap
|
|||
Containers: []corev1.Container{
|
||||
{
|
||||
Name: "runner",
|
||||
Image: "edp.buildth.ing/devfw-cicd/garm-act-runner:1",
|
||||
Image: bootstrapParams.Image,
|
||||
ImagePullPolicy: "Always",
|
||||
Env: envs,
|
||||
VolumeMounts: []corev1.VolumeMount{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
# docker run -e METADATA_URL=https://garm.garm-provider-test.t09.de/api/v1/metadata -e CALLBACK_URL=https://garm.garm-provider-test.t09.de/api/v1/callbacks -e GITHUB_URL=https://garm-provider-test.t09.de/ -e RUNNER_NAME="lala" -e BEARER_TOKEN="$BEARER_TOKEN" test
|
||||
FROM ghcr.io/catthehacker/ubuntu:act-22.04
|
||||
|
||||
USER root
|
||||
|
|
|
|||
|
|
@ -39,4 +39,6 @@ forgejo-runner generate-config > config.yml;
|
|||
unset RUNNER_SECRET
|
||||
unset BEARER_TOKEN
|
||||
|
||||
docker buildx create --use --name sidecar unix:///run/user/1000/buildkit/buildkitd.sock
|
||||
|
||||
/bin/forgejo-runner --config config.yml daemon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue