1 parent d468576 commit 2e0dcaaCopy full SHA for 2e0dcaa
2 files changed
.github/workflows/pr.yaml
@@ -13,7 +13,7 @@ jobs:
13
runs-on: ubuntu-latest
14
15
env:
16
- PG_DOCKER_IMAGE: ghcr.io/cloudnative-pg/postgresql:16-bookworm
+ PG_DOCKER_IMAGE: public.ecr.aws/docker/library/postgres:latest
17
18
steps:
19
- uses: actions/checkout@v4
tests/postgres/common.rs
@@ -29,7 +29,7 @@ pub(super) async fn start_postgres_docker_container(
29
let port = port.try_into().unwrap_or(15432);
30
31
let pg_docker_image = std::env::var("PG_DOCKER_IMAGE")
32
- .unwrap_or_else(|_| format!("{}postgres:latest", "public.ecr.aws/docker/library/"));
+ .unwrap_or_else(|_| format!("{}postgres:latest", container_registry()));
33
34
let running_container = ContainerRunnerBuilder::new(container_name)
35
.image(pg_docker_image)
0 commit comments