mirror of https://github.com/coder/coder.git
chore: use gcr.io for postgres image in CI (#7935)
This commit is contained in:
parent
e4744686ec
commit
c60ea38691
2
Makefile
2
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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue