.github/workflows/docker.yml
name: Docker
on: [pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build Dockerfile
id: docker_build
uses: docker/build-push-action@v6
with:
context: ./
file: ./Dockerfile
push: false