forked from e621ng/e621ng
[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:
parent
5a1e833e7e
commit
f8d54b65bb
2
.github/prepare-docker-image/action.yml
vendored
2
.github/prepare-docker-image/action.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user