ci: test docker building during PR (#952)

* ci: test docker building during PR

* format
This commit is contained in:
pataar authored and GitHub committed 2022-07-08 14:25:08 +02:00
1 parent 5f3d80dd5b
commit d48d05bebe
1 file changed
+4 -2
+4 -2
View File
@@ -5,6 +5,9 @@ on:
branches: ['master', 'develop']
tags:
- '*'
pull_request:
branches:
- '*'
env:
REGISTRY: ghcr.io
@@ -37,7 +40,6 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }}
type=edge,branch=develop
type=ref,event=tag
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
@@ -48,6 +50,6 @@ jobs:
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}