Skip to content

Commit

Permalink
Test the docker build if the Dockerfile changes (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl authored Jul 1, 2024
1 parent 8d07c67 commit 1e62010
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Docker build

on:
pull_request:
paths:
- Dockerfile
types: [opened, synchronize]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build docker image
uses: docker/build-push-action@v5
with:
secrets: github_token=${{ secrets.GITHUB_TOKEN }}
push: false

0 comments on commit 1e62010

Please sign in to comment.