Skip to content

Commit

Permalink
Add docker hub credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Jul 11, 2024
1 parent bb16d8f commit 8db00fb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@ jobs:
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v4
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
context: .
file: ".docker/lint/c-lint.Dockerfile"
tags: c-lint:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
push: false
push: true
- name: Run C lint
uses: addnab/docker-run-action@v3
with:
image: c-lint:latest
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
image: deniscostadsc/c-lint:latest
options: -v ${{ github.workspace }}:/code -e LINT_FIX=1

0 comments on commit 8db00fb

Please sign in to comment.