From c60ea3869199468683f4cd69168e7a199a05bd72 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Fri, 9 Jun 2023 23:39:55 +1000 Subject: [PATCH] chore: use gcr.io for postgres image in CI (#7935) --- Makefile | 2 +- coderd/database/gen/dump/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 588928703f..684ef9ef8f 100644 --- a/Makefile +++ b/Makefile @@ -630,7 +630,7 @@ test-postgres-docker: --name test-postgres-docker \ --restart no \ --detach \ - postgres:13 \ + gcr.io/coder-dev-1/postgres:13 \ -c shared_buffers=1GB \ -c work_mem=1GB \ -c effective_cache_size=1GB \ diff --git a/coderd/database/gen/dump/main.go b/coderd/database/gen/dump/main.go index 23508a3a3c..2c70c4294c 100644 --- a/coderd/database/gen/dump/main.go +++ b/coderd/database/gen/dump/main.go @@ -68,7 +68,7 @@ func main() { "run", "--rm", "--network=host", - fmt.Sprintf("postgres:%d", minimumPostgreSQLVersion), + fmt.Sprintf("gcr.io/coder-dev-1/postgres:%d", minimumPostgreSQLVersion), }, cmdArgs...) } cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) //#nosec