Merge pull request #2083 from metal3-io-bot/cherry-pick-1792-to-relea… #538
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-images-action | |
permissions: | |
contents: read | |
on: | |
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' | |
pushImage: true | |
secrets: | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
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' | |
dockerfile-directory: resources/keepalived-docker | |
pushImage: true | |
secrets: | |
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} | |
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |