From 123c6089de3c9441e75d1abbf1beb75faf54f909 Mon Sep 17 00:00:00 2001 From: Kieran Wardle <23309814+KieranWardle@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:30:19 +0000 Subject: [PATCH] Added docker login step to megalinter action --- .github/workflows/mega-linter.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index a8e3ec3..dd72c86 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -36,6 +36,13 @@ jobs: with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} + # Authenticating with Dockerhub ensures image pulls are authenticated, so not as severely rate limited + - name: Log in to Dockerhub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + # MegaLinter - name: MegaLinter