From 933670c60de702b66e86e55744fee2ab9d57ef63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Ma=C5=82achowski?= <38684517+KacperMalachowski@users.noreply.github.com> Date: Wed, 23 Oct 2024 08:11:07 +0200 Subject: [PATCH] Switch docker to privileged to ensure permisisons in bumpers (#12193) --- .github/workflows/autobump-docs-index-md.yml | 3 ++- ...te-security-config.yaml => autobump-security-config.yaml} | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) rename .github/workflows/{push-update-security-config.yaml => autobump-security-config.yaml} (96%) diff --git a/.github/workflows/autobump-docs-index-md.yml b/.github/workflows/autobump-docs-index-md.yml index 88649196be2f..52888deacaa8 100644 --- a/.github/workflows/autobump-docs-index-md.yml +++ b/.github/workflows/autobump-docs-index-md.yml @@ -57,7 +57,8 @@ jobs: -v ~/token:/etc/github/token:ro \ -v ${{ github.workspace }}:/github/test-infra \ --workdir /github/test-infra \ - --user $UID \ + --privileged \ + --cap-drop ALL \ europe-docker.pkg.dev/kyma-project/prod/markdown-index:v20241022-0ba5f3bb \ --config=${{ env.AUTOBUMP_CONFIG_PATH }} \ --labels-override=kind/chore,area/documentation diff --git a/.github/workflows/push-update-security-config.yaml b/.github/workflows/autobump-security-config.yaml similarity index 96% rename from .github/workflows/push-update-security-config.yaml rename to .github/workflows/autobump-security-config.yaml index 814a77f11e44..7bcddeaba0d0 100644 --- a/.github/workflows/push-update-security-config.yaml +++ b/.github/workflows/autobump-security-config.yaml @@ -1,4 +1,4 @@ -name: push-update-security-config +name: autobump-security-config on: schedule: @@ -69,7 +69,8 @@ jobs: -v ${{ github.workspace }}:/github/workspace \ --workdir /github/workspace \ --rm \ - --user $UID \ + --privileged \ + --cap-drop ALL \ europe-docker.pkg.dev/kyma-project/prod/image-detector:v20241022-0ba5f3bb \ --terraform-dir=${{ env.TERRAFORM_CONFIGS_DIR }} \ --sec-scanner-config=${{ env.SEC_SCANNERS_CONFIG_PATH }} \