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
|
2022-05-20 13:29:40 +09:00
|
|
|
uses: docker/build-push-action@v3.0.0
|
2022-03-30 22:08:52 +09:00
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
push: false
|