chore: use gcr.io for postgres image in CI (#7935)

This commit is contained in:
Dean Sheather 2023-06-09 23:39:55 +10:00 committed by GitHub
parent e4744686ec
commit c60ea38691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 \

View File

@ -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