[Tests] Fix CI

Previous commits made docker run as a different user than root.
Unfortunately the checkout action creates the files as root, regardless of what
user might actually be running. As such, docker commands need to be run as
root as well to not run into permission issues when creating the `tmp` folder for example.

This basically reverts 2de0ebb5b8 for CI but since that was intended for local development its not a big deal
This commit is contained in:
Earlopain 2024-01-14 20:49:30 +00:00
parent 5a1e833e7e
commit f8d54b65bb
No known key found for this signature in database
GPG Key ID: 48860312319ADF61

View File

@ -15,5 +15,5 @@ runs:
tags: e621
- name: Set docker run command
run: echo "DOCKER_RUN=docker-compose run -e CI=true" >> "$GITHUB_ENV"
run: echo "DOCKER_RUN=docker-compose run --user 0:0 -e CI=true" >> "$GITHUB_ENV"
shell: bash