Skip to content

Commit 5e82713

Browse files
committed
fix docker options
1 parent 07d473c commit 5e82713

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/pull_lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ jobs:
1919
- name: Lint
2020
run: |
2121
docker run \
22+
--env UID=$(id -u) \
23+
--env GID=$(id -g) \
24+
-v "$(pwd):$(pwd)" \
25+
-w "$(pwd)" \
2226
yugabyteci/yb_build_infra_ubuntu2204_x86_64:latest \
2327
bash -c '
24-
sudo -H -u yugabyteci bash -c "
2528
set -euo pipefail
2629
export PATH=/usr/local/bin:\$HOME/yb-cpplint/cpplint:\$PATH
2730
echo ::group::Lint
@@ -34,5 +37,4 @@ jobs:
3437
echo No base reference: Skipping Lint Step
3538
exit
3639
fi
37-
"
3840
'

0 commit comments

Comments
 (0)