diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ce59e18f..338d2b27 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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