From 2c4e78f0a7eedd776f2edf850a55d11fc1192d36 Mon Sep 17 00:00:00 2001 From: Deploy Debbie Date: Wed, 18 Mar 2026 16:36:02 +0000 Subject: [PATCH] fix(ci): add Docker Hub login to avoid rate limit on base image pulls The build-and-push job pulls node:20-alpine and nginx:stable-alpine from Docker Hub during docker build. Without authentication these pulls hit the unauthenticated rate limit, causing intermittent build failures. Closes #8 Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 585655d..516957f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Log in to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Log in to GHCR if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: docker/login-action@v3