We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f60f283 commit 19108d0Copy full SHA for 19108d0
.github/workflows/build.yaml
@@ -3,7 +3,12 @@ name: 'Build containers'
3
4
on:
5
workflow_dispatch:
6
+ pull_request:
7
+ branches:
8
+ - master
9
push:
10
11
12
paths-ignore:
13
- COPYING
14
- README.md
@@ -53,6 +58,7 @@ jobs:
53
58
uses: docker/setup-buildx-action@v2
54
59
55
60
- name: Login to GCHR
61
+ if: github.event_name != 'pull_request'
56
62
uses: docker/login-action@v2
57
63
with:
64
registry: ghcr.io
@@ -63,7 +69,7 @@ jobs:
69
id: build_and_push
70
uses: docker/bake-action@v3
65
71
66
- push: ${{ endsWith(github.ref, 'master') }}
72
+ push: ${{ github.event_name != 'pull_request' }}
67
73
files: |
68
74
docker-bake.hcl
75
${{ steps.meta.outputs.bake-file }}
0 commit comments