Skip to content

DONOT MERGE Move container build to gh runner #348

DONOT MERGE Move container build to gh runner

DONOT MERGE Move container build to gh runner #348

name: build-images-action
permissions: {}
on:
pull_request
# push:
# branches:
# - 'main'
# - 'release-*'
# tags:
# - 'v*'
jobs:
build_bmo:
name: Build BMO container image
permissions:
contents: read
runs-on: ubuntu-latest
# uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
uses: Nordix/metal3-project-infra/.github/workflows/container-image-build.yml@mquhuy/change-container-image-build-wf-permissions

Check failure on line 21 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: 21, Col: 5): Unexpected value 'uses' .github/workflows/build-images-action.yml (Line: 22, Col: 5): Unexpected value 'with'
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
# uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
uses: Nordix/metal3-project-infra/.github/workflows/container-image-build.yml@mquhuy/change-container-image-build-wf-permissions
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 }}