Recommended update to LaTeX document builds: log into Docker Hub from GitHub Actions

For LaTeX documents hosted in GitHub and published to lsst.io, we recommend that you update your GitHub Actions workflow to log into Docker Hub. This update will avoid potential Docker Hub rate limit issues.

To make this change, open .github/workflows/ci.yaml and add this step to the build job before the “TeX build” step:

      - name: Login to Docker Hub
         uses: docker/login-action@v1
         with:
           username: sqrereadonly
           password: ${{ secrets.DOCKERHUB_SQREREADONLY_TOKEN }}

Push this update as a PR to your document to double-check that it works correctly.

To see a full example of the ci.yaml, see https://github.com/lsst/templates/blob/master/project_templates/technote_latex/testn-000/.github/workflows/ci.yaml

Don’t see a .github/workflows/ci.yaml in your LaTeX document’s repository?

Likely, your document hasn’t migrated from Travis CI to GitHub Actions yet. See the steps in the following post to migrate your doc: