Skip to content

Commit

Permalink
Make container build only run for upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Huy Mai <[email protected]>
  • Loading branch information
mquhuy committed Aug 9, 2024
1 parent 27efc93 commit f92955d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-images-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ on:

build_ironic:
name: Build Ironic container image
if: github.repository == 'metal3-io/ironic-image'
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: "ironic"
image-name: 'ironic'
pushImage: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
build_sushy-tools:
name: Build sushy-tools image
if: github.repository == 'metal3-io/ironic-image'
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: "sushy-tools"
image-name: 'sushy-tools'
dockerfile-directory: resources/sushy-tools
pushImage: true
secrets:
Expand All @@ -34,9 +36,10 @@ on:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
build_vbmc:
name: build vbmc image
if: github.repository == 'metal3-io/ironic-image'
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: "vbmc"
image-name: 'vbmc'
dockerfile-directory: resources/vbmc
pushImage: true
secrets:
Expand Down

0 comments on commit f92955d

Please sign in to comment.