Skip to content

Commit fcc3114

Browse files
authored
check owner instead of event (#218)
1 parent d5ce2a3 commit fcc3114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pg-image-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
jobs:
2626
build_and_push_amd64:
2727
name: Build and push AMD64 images
28-
if: github.event.pull_request.head.repo.full_name == github.repository
28+
if: github.repository_owner == 'tembo-io'
2929
runs-on:
3030
- self-hosted
3131
- dind
@@ -85,7 +85,7 @@ jobs:
8585
8686
build_and_push_arm64:
8787
name: Build and push ARM64 images
88-
if: github.event.pull_request.head.repo.full_name == github.repository
88+
if: github.repository_owner == 'tembo-io'
8989
runs-on:
9090
- arm64-4x16
9191
outputs:

0 commit comments

Comments
 (0)