Skip to content

DO NOT MERGE Make container build only run for metal3.io repo #355

DO NOT MERGE Make container build only run for metal3.io repo

DO NOT MERGE Make container build only run for metal3.io repo #355

name: build-images-action
permissions:
contents: read
on:
pull_request
# push:
# branches:
# - 'main'
# - 'release-*'
# tags:
# - 'v*'
jobs:
build_bmo:
name: Build BMO container image
if: github.repository == "metal3-io/baremetal-operator"

Check failure on line 18 in .github/workflows/build-images-action.yml

View workflow run for this annotation

GitHub Actions / build-images-action

Invalid workflow file

The workflow is not valid. .github/workflows/build-images-action.yml (Line: 18, Col: 9): Unexpected symbol: '"metal3-io/baremetal-operator"'. Located at position 22 within expression: github.repository == "metal3-io/baremetal-operator" .github/workflows/build-images-action.yml (Line: 29, Col: 9): Unexpected symbol: '"metal3-io/baremetal-operator"'. Located at position 22 within expression: 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 }}