From 702c726cddbe8b576206972396199cf7a1d84a16 Mon Sep 17 00:00:00 2001 From: Sai Eswar Date: Mon, 25 May 2026 19:57:25 +0530 Subject: [PATCH] Fix #3741: Authenticate Docker Hub pulls to prevent rate limits --- .github/workflows/publish-webapp.yml | 8 +++++++- .github/workflows/publish-worker-v4.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-webapp.yml b/.github/workflows/publish-webapp.yml index 466eaf855c0..a057f2c46ee 100644 --- a/.github/workflows/publish-webapp.yml +++ b/.github/workflows/publish-webapp.yml @@ -88,6 +88,12 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: 🐋 Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: 🐳 Build image and push to GitHub Container Registry id: build_push uses: depot/build-push-action@5f3b3c2e5a00f0093de47f657aeaefcedff27d18 # v1.17.0 @@ -117,4 +123,4 @@ jobs: with: subject-name: ghcr.io/triggerdotdev/trigger.dev subject-digest: ${{ steps.build_push.outputs.digest }} - push-to-registry: true + push-to-registry: true \ No newline at end of file diff --git a/.github/workflows/publish-worker-v4.yml b/.github/workflows/publish-worker-v4.yml index 6ed490c9471..fbf833fd63d 100644 --- a/.github/workflows/publish-worker-v4.yml +++ b/.github/workflows/publish-worker-v4.yml @@ -81,10 +81,16 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: 🐋 Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: 🐳 Build image and push to GitHub Container Registry uses: depot/build-push-action@5f3b3c2e5a00f0093de47f657aeaefcedff27d18 # v1.17.0 with: file: ./apps/${{ matrix.package }}/Containerfile platforms: linux/amd64,linux/arm64 tags: ${{ steps.set_tags.outputs.image_tags }} - push: true + push: true \ No newline at end of file