Commit d4e5a5b
committed
fix: only push image on push event
At the moment push can not be done on pull_request due to forked repo context execution. Do not have rights to access ghcr on the upstream repo. This commit checks if event is push to push the images to ghcr
Signed-off-by: Adrian Riobo <ariobolo@redhat.com>1 parent d7e5a2c commit d4e5a5b
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
65 | | - | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
0 commit comments