Skip to content

Commit a43fb19

Browse files
scribamfrangarcj
authored andcommitted
ci: allow build on pull requests
1 parent c11c240 commit a43fb19

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: CI-Docker
22

33
on:
4+
pull_request:
5+
branches:
6+
- master
47
push:
58
branches:
69
- master
@@ -27,8 +30,9 @@ jobs:
2730
with:
2831
username: ${{ secrets.DOCKER_USERNAME }}
2932
password: ${{ secrets.DOCKER_PASSWORD }}
33+
if: github.event_name != 'pull_request'
3034

3135
- uses: docker/build-push-action@v3
3236
with:
33-
push: true
37+
push: ${{ github.event_name != 'pull_request' }}
3438
tags: vitasdk/buildscripts:latest

0 commit comments

Comments
 (0)