Use root user for container images

pull/7154/head
Gokhan Gulbiz 2023-08-16 18:46:05 +03:00
parent 1d21f505f2
commit 6f883f3f80
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: "${{ matrix.image_name }}:${{ matrix.pg_version }}${{ matrix.image_suffix }}"
options: --user root
steps:
- uses: actions/checkout@v3.5.0
- name: Configure, Build, and Install
@ -105,6 +106,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: "${{ matrix.image_name }}:${{ matrix.pg_version }}${{ matrix.image_suffix }}"
options: --user root
needs:
- build
steps: