Test pull requests in CI
parent
290e1ea2be
commit
499aaf77a2
|
@ -4,6 +4,8 @@ on:
|
|||
push:
|
||||
branches: ['master']
|
||||
tags: ['*']
|
||||
pull_request:
|
||||
branches: ['master']
|
||||
|
||||
env:
|
||||
DOCKER_HUB_USER: phlak
|
||||
|
@ -34,6 +36,6 @@ jobs:
|
|||
- name: Build & Push Image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.extract-metadata.outputs.tags }}
|
||||
labels: ${{ steps.extract-metadata.outputs.labels }}
|
||||
|
|
Loading…
Reference in New Issue