fix: allow OpenCode SDK to write to config directory in executor

This commit is contained in:
2026-07-16 13:06:46 +02:00
parent a215645813
commit 01ad85ec7f
+2 -1
View File
@@ -59,7 +59,8 @@ RUN npm install --global --omit=dev "opencode-ai@${OPENCODE_VERSION}" \
&& rm -f "/tmp/${asset}" /tmp/gitea-mcp
COPY opencode /opt/ci-agents/opencode
RUN chmod -R a-w /opt/ci-agents
RUN chmod -R a-w /opt/ci-agents \
&& chmod u+w /opt/ci-agents/empty-config/opencode
ENV XDG_DATA_HOME=/var/lib/opencode-agent/data \
XDG_CONFIG_HOME=/opt/ci-agents/empty-config \