This action runs docker build --check
with reviewdog on pull requests to improve code review experience.
name: reviewdog
on:
pull_request:
paths:
- '**/Dockerfile'
permissions:
contents: read
pull-requests: write
jobs:
docker-build-check:
name: docker-build-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shmokmt/action-docker-build-check@v1
with:
github_token: ${{ secrets.github_token }}
Note
We recommend using Ubuntu, the GitHub self hosted runner. This action assumes that Docker and buildx are already installed on your system. If your runner does not have these pre-installed, please set them up yourself.