Skip to content

shmokmt/action-docker-build-check

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action: Run docker build --check with reviewdog 🐶

Test

This action runs docker build --check with reviewdog on pull requests to improve code review experience.

Examples

image

Usage

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.

See Also