2022-03-30 22:08:52 +09:00
|
|
|
name: 'Docker check'
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2022-04-20 12:28:58 +09:00
|
|
|
paths:
|
2022-03-30 22:08:52 +09:00
|
|
|
- 'Dockerfile'
|
2022-04-20 12:28:58 +09:00
|
|
|
- '.github/workflows/docker-pr.yml'
|
2022-03-30 22:08:52 +09:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
docker-build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
PR_NUMBER: ${{github.event.number}}
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-04-26 20:53:22 +09:00
|
|
|
uses: actions/checkout@v3.0.2
|
2022-03-30 22:08:52 +09:00
|
|
|
- name: Build Docker image
|
|
|
|
uses: docker/build-push-action@v2.10.0
|
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
push: false
|