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