From 36c7f8c8de6d2ec7e9903c64aad476f5aaf8567f Mon Sep 17 00:00:00 2001 From: Norwin Date: Mon, 14 Feb 2022 23:05:57 +0800 Subject: [PATCH] Fix CI (run gitea without root previleges) (#569) CI is broken due to gitea upstream changes in deployment; may not run as root. I have not tested if this actually fixes things, for upstream reference see https://github.com/go-gitea/gitea/commit/f0bd1e98962a6821cdb0543cfc2e5159d443d36a#diff-b54b39f1afced2465e1f3641db9d5bbf4f3a7fcf890996dfedd3c197bcb7f8c7 I also switched from `:latest` to `:dev`, see https://github.com/go-gitea/gitea/pull/16421 edit: sorry for the messy commit list below, it's actually just a single commit. Co-authored-by: Norwin Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/569 Co-authored-by: Norwin Co-committed-by: Norwin --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d5dec73..70741e5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,9 @@ workspace: steps: - name: gitea - image: gitea/gitea:latest + image: gitea/gitea:dev detach: true + user: gitea commands: - mkdir -p /tmp/conf/ - mkdir -p /tmp/data/