diff --git a/.github/workflows/build-images-action.yml b/.github/workflows/build-images-action.yml index 776c2cc459..a237f7f098 100644 --- a/.github/workflows/build-images-action.yml +++ b/.github/workflows/build-images-action.yml @@ -4,16 +4,18 @@ permissions: contents: read on: - push: - branches: - - 'main' - - 'release-*' - tags: - - 'v*' + pull_request + # push: + # branches: + # - 'main' + # - 'release-*' + # tags: + # - 'v*' jobs: build_bmo: name: Build BMO container image + if: github.repository == "metal3-io/baremetal-operator" uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main with: image-name: "baremetal-operator" @@ -24,6 +26,7 @@ jobs: SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} build_keepalived: name: Build keepalived container image + if: github.repository == "metal3-io/baremetal-operator" uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main with: image-name: "keepalived"