Skip to content

Commit 6ba822c

Browse files
ci: pull base images from Amazon ECR Public instead of Docker Hub
Docker Hub token requests from GitHub-hosted runners are failing (auth.docker.io timeouts / 504s, falling back to the anonymous 429 limit), blocking release builds. Switch the Dockerfile base images and the Prisma migration check's Postgres image to Docker's official mirrors on public.ecr.aws/docker/library, which use the same images without depending on Docker Hub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 15bbb94 commit 6ba822c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/actions/check-prisma-migrations/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
-e POSTGRES_USER=postgres \
4545
-e POSTGRES_PASSWORD=postgres \
4646
-e POSTGRES_DB=sourcebot \
47-
-p 5432:5432 postgres:16
47+
-p 5432:5432 public.ecr.aws/docker/library/postgres:16
4848
for i in $(seq 1 30); do
4949
if docker exec prisma-check-pg pg_isready -U postgres -q; then
5050
echo "Postgres ready."

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ARG NEXT_PUBLIC_SENTRY_WEBAPP_DSN
1313
ARG NEXT_PUBLIC_SENTRY_BACKEND_DSN
1414
ARG NEXT_PUBLIC_BUILD_COMMIT_SHA
1515

16-
FROM node:24-alpine3.23 AS node-alpine
17-
FROM golang:1.26-alpine AS go-alpine
16+
FROM public.ecr.aws/docker/library/node:24-alpine3.23 AS node-alpine
17+
FROM public.ecr.aws/docker/library/golang:1.26-alpine AS go-alpine
1818
# ----------------------------------
1919

2020
# ------ Build Zoekt ------

0 commit comments

Comments
 (0)