mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-18 02:11:04 +08:00
✨ feat(action-runner): add privileged mode configuration
- add PRIVILEGED environment variable with select field in form configuration - update docker-compose to use PRIVILEGED variable instead of hardcoded true value - provide both English and Chinese labels for privilege mode option - include enabled/disabled options with true/false values for flexible permission management
This commit is contained in:
parent
68e24e3192
commit
5712ec5480
@ -1,5 +1,18 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: PRIVILEGED
|
||||
labelEn: "Privilege Mode: Manually enabled for permission issues"
|
||||
labelZh: "特权模式: 遇到权限问题时手动启用"
|
||||
required: false
|
||||
type: select
|
||||
values:
|
||||
- label: "启用 Enabled"
|
||||
value: "true"
|
||||
- label: "禁用 Disabled"
|
||||
value: "false"
|
||||
|
||||
- default: "repos"
|
||||
edit: true
|
||||
envKey: ROLE
|
||||
|
||||
@ -3,7 +3,7 @@ services:
|
||||
image: ghcr.io/pooneyy/actions-runner:2.329.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
privileged: true
|
||||
privileged: ${PRIVILEGED}
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user