Skip to content

Commit

Permalink
set build container user
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gilber committed Oct 28, 2023
1 parent d89ae78 commit ae7e242
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
packages: write
container:
image: registry.access.redhat.com/ubi8/openjdk-17 # Use same build image as Containerfile.multistage
volumes:
- /__w/ # Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/save_state_19d2adac-52a7-4c94-b746-de81d0e83853'
options: --user 185 # Get value from docker inspect {{ image }} | jq .[].Config.User
# volumes:
# - github_runner_temp:/__w/ # Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/save_state_19d2adac-52a7-4c94-b746-de81d0e83853'
services:
mysql:
image: mysql:8.0 # Use same mysql image from devcontainer.json
Expand Down

0 comments on commit ae7e242

Please sign in to comment.