Skip to content

Commit

Permalink
Added docker login step to Megalinter github action
Browse files Browse the repository at this point in the history
  • Loading branch information
KieranWardle committed Jan 9, 2025
1 parent b842f17 commit 60e3a37
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 @@ -35,6 +35,13 @@ jobs:
uses: actions/checkout@v4
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 60e3a37

Please sign in to comment.