cinny/.github/workflows/docker-pr.yml

27 lines
637 B
YAML
Raw Normal View History

name: 'Docker check'
on:
pull_request:
paths:
- 'Dockerfile'
2022-04-19 06:24:50 +00:00
- '.github/workflows/docker-pr.yml'
jobs:
docker-build:
runs-on: ubuntu-latest
env:
PR_NUMBER: ${{github.event.number}}
steps:
- name: Checkout repository
uses: actions/checkout@v3.0.1
2022-04-19 06:24:50 +00:00
- name: Set up QEMU
uses: docker/setup-qemu-action@v1.2.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1.6.0
- name: Build Docker image
uses: docker/build-push-action@v2.10.0
with:
context: .
2022-04-19 06:24:50 +00:00
platforms: linux/amd64,linux/arm64
push: false