From b0086d26ee15ed1f640b3d21792bdf011ae87423 Mon Sep 17 00:00:00 2001 From: david-i-berry Date: Mon, 19 Aug 2024 18:54:40 +0200 Subject: [PATCH] Testing permissions and uid/gid. --- .github/workflows/test-docker.yml | 4 ++-- docker/tests/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml index ac24e67..5b83b0e 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -25,8 +25,8 @@ jobs: - name: Run containers working-directory: docker/tests run: | - export UID=$(id -u) - export GID=$(id -g) + export USER_ID=$(id -u) + export GROUP_ID=$(id -g) docker compose up -d - name: Run CLI tests working-directory: docker/tests diff --git a/docker/tests/docker-compose.yml b/docker/tests/docker-compose.yml index e044907..3b4f47c 100644 --- a/docker/tests/docker-compose.yml +++ b/docker/tests/docker-compose.yml @@ -33,4 +33,4 @@ services: - broker volumes: - ./data:/home/wis2downloader/app/data/downloads - user: $GID:$UID + user: $GROUP_ID:$USER_ID