-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[GHA] Switch code style checks to use Docker environment #32342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[GHA] Switch code style checks to use Docker environment #32342
Conversation
…-use-Docker-environment
…-use-Docker-environment
…-use-Docker-environment
…-use-Docker-environment
…-use-Docker-environment
…-use-Docker-environment
…-use-Docker-environment
…-use-Docker-environment
.github/dockerfiles/ov_test/ubuntu_22_04_x64_code_style/Dockerfile
Outdated
Show resolved
Hide resolved
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_24_04_x64_code_style }} | ||
volumes: | ||
- /mount:/mount | ||
options: --user 1001 # We use standard github-actions user inside container to avoid permission issues after checkout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move it inside the docker image configuration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we can, when trying to do so I am getting permission errors, here are the docs that explain it: https://docs.github.com/en/actions/reference/workflows-and-actions/dockerfile-support#user
runs-on: ubuntu-22.04 | ||
if: ${{ github.repository_owner == 'openvinotoolkit' }} | ||
needs: Docker | ||
runs-on: aks-linux-4-cores-16gb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not the medium runner?
…-use-Docker-environment
Tickets: