Skip to content

Commit

Permalink
Trying to fix ownership inside docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Robertorosmaninho committed Sep 21, 2023
1 parent 89ac2e8 commit 4704126
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ jobs:
BENCHER_ADAPTER: json
run: |
set -euxo pipefail
chown root:root $(pwd)
docker run --name k-posting-profiling-tests-${GITHUB_SHA} \
--rm -it --detach \
-e BENCHER_API_TOKEN=$BENCHER_API_TOKEN \
Expand All @@ -76,6 +75,10 @@ jobs:
workspace=$(pwd)
docker cp ${workspace}/. k-posting-profiling-tests-${GITHUB_SHA}:/opt/workspace
- name: 'Changing directory ownership'
run: |
docker exec -t k-posting-profiling-tests-${GITHUB_SHA} /bin/bash -c 'chown root:root /opt/workspace'
- name: 'Setting up dependencies'
run: |
set -euxo pipefail
Expand Down

0 comments on commit 4704126

Please sign in to comment.