Remove --user root option from Kaniko container
Some checks failed
Build and Push Docker Image / build (push) Failing after 0s

The Kaniko executor image doesn't have traditional user management
and runs with appropriate permissions by default.

Fixes: unable to find user root: no matching entries in passwd file

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Matt 2025-10-29 13:51:15 +01:00
parent 82093a0cf6
commit 8de8fc9b40

View File

@ -10,7 +10,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: gcr.io/kaniko-project/executor:debug image: gcr.io/kaniko-project/executor:debug
options: --user root
steps: steps:
- name: Checkout code - name: Checkout code