Update docker-pr.yml

This commit is contained in:
Krishan 2022-04-19 11:54:50 +05:30 committed by GitHub
parent 62c03d1334
commit 0fc463afb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@ on:
pull_request: pull_request:
paths: paths:
- 'Dockerfile' - 'Dockerfile'
- '.github/workflows/docker-pr.yml'
jobs: jobs:
docker-build: docker-build:
@ -13,8 +14,13 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3.0.1 uses: actions/checkout@v3.0.1
- 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 - name: Build Docker image
uses: docker/build-push-action@v2.10.0 uses: docker/build-push-action@v2.10.0
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64
push: false push: false