]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/test-kitchen.yml
Add docker hub login to avoid hub IP limits
[chef.git] / .github / workflows / test-kitchen.yml
index e36f92849144d051b450a76ec427be435b0d0e57..9102aaf9f326295885789172a1273dc2eebf9152 100644 (file)
@@ -169,6 +169,12 @@ jobs:
         registry: ghcr.io
         username: ${{ github.actor }}
         password: ${{ secrets.GITHUB_TOKEN }}
         registry: ghcr.io
         username: ${{ github.actor }}
         password: ${{ secrets.GITHUB_TOKEN }}
+    - name: Login to Docker Hub
+      uses: docker/login-action@v3
+      with:
+        username: ${{ secrets.DOCKERHUB_USERNAME }}
+        password: ${{ secrets.DOCKERHUB_TOKEN }}
+      if: github.repository == 'openstreetmap/chef' && github.event_name != 'pull_request'
     - name: Check out code
       uses: actions/checkout@v4
     - name: Setup ruby
     - name: Check out code
       uses: actions/checkout@v4
     - name: Setup ruby