Skip to content

Commit 4b8a321

Browse files
committed
Fix container image path
1 parent 7b9d190 commit 4b8a321

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
fail-fast: false
1919
runs-on: ubuntu-latest
2020
container:
21-
image: ${{ format('ghcr.io/postgres-dev/{0}:1.0', matrix.os) }}
22-
options: --privileged
21+
image: postgres:${{ matrix.pg_version }}
22+
options: --user root
2323
env:
2424
PGDATA: $HOME/data
2525
PG_BRANCH: ${{ format('REL_{0}_STABLE', matrix.pg_version) }}
@@ -32,8 +32,8 @@ jobs:
3232
# Install general build tools
3333
- name: Install build tools
3434
run: |
35-
sudo apt update
36-
sudo apt install -y build-essential automake meson ninja-build pkg-config libxml2-dev wget gnupg lsb-release
35+
apt update
36+
apt install -y build-essential automake meson ninja-build pkg-config libxml2-dev wget gnupg lsb-release
3737
3838
# Set PG_CONFIG to container's Postgres
3939
- name: Set PG_CONFIG

0 commit comments

Comments
 (0)