Skip to content

Commit

Permalink
Added docker login step to megalinter action
Browse files Browse the repository at this point in the history
  • Loading branch information
KieranWardle committed Jan 9, 2025
1 parent 93353de commit 123c608
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 123c608

Please sign in to comment.