From c74a4226f4f68ffe31e583a3180f0380a365d649 Mon Sep 17 00:00:00 2001 From: Deploy Debbie Date: Fri, 20 Mar 2026 02:05:33 +0000 Subject: [PATCH] Add Docker Hub auth to CI to fix 429 rate limit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build-and-push job pulls nginx:stable-alpine from Docker Hub during docker build. Anonymous pulls hit rate limits on self-hosted runners. Add docker/login-action for Docker Hub using org secrets before the build step (unconditional — needed for both PR and push builds). Closes #22 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 fcb6479..17b7b06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,6 +70,12 @@ jobs: echo "version=$VERSION" >> "$GITHUB_OUTPUT" echo "CalVer tag: $VERSION" + - 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