Skip to content

Commit

Permalink
Merge pull request #840 from Nordix/mquhuy/build-container-image-afte…
Browse files Browse the repository at this point in the history
…r-release

🌱 Add build container image as a job in release wf
  • Loading branch information
metal3-io-bot authored Jan 2, 2025
2 parents c256e0c + 873adf6 commit 1b60436
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build-images-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ on:
- "release-*"
tags:
- "v*"
workflow_run:
workflows:
- "Create Release"
types:
- completed

jobs:
set_ref:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,17 @@ jobs:
files: out/*
body_path: ${{ env.RELEASE_TAG }}.md
tag_name: ${{ env.RELEASE_TAG }}

build_ipam:
needs: push_release_tags
name: Build IPAM container image
if: github.repository == 'metal3-io/ip-address-manager'
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: "ip-address-manager"
pushImage: true
ref: ${{ needs.push_release_tags.outputs.release_tag }}
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit 1b60436

Please sign in to comment.