Skip to content

Commit

Permalink
Fix attribution permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson committed Feb 27, 2025
1 parent c8ba7c7 commit 89aed4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oss/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ function run_ort()

container_component_output_dir="$output_dir/$component"

docker run --rm -v $script_dir/..:/project ghcr.io/oss-review-toolkit/ort:$ORT_VERSION analyze \
docker run --rm --user 0 -v $script_dir/..:/project ghcr.io/oss-review-toolkit/ort:$ORT_VERSION analyze \
-i $container_component_dir -o $container_component_output_dir \
--repository-configuration-file "$ort_dir/$profile.ort.yml" -f JSON

docker run --rm -v $script_dir/..:/project ghcr.io/oss-review-toolkit/ort:$ORT_VERSION download \
docker run --rm --user 0 -v $script_dir/..:/project ghcr.io/oss-review-toolkit/ort:$ORT_VERSION download \
-i $container_component_output_dir/analyzer-result.json -o $container_component_output_dir/src
}

Expand Down

0 comments on commit 89aed4e

Please sign in to comment.