Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github action to trigger container images build #1457

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/build-images-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build-images-action
on:
pull_request:
permissions: {}
jobs:
build:
name: Build container images
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: build bmo image
uses: sozo-design/[email protected]
with:
args: https://jenkins.nordix.org/job/metal3_baremetal-operator_container_image_building/buildWithParameters --user [email protected]:${{ secrets.JENKINS_TOKEN }} --data BUILD_CONTAINER_IMAGE_BRANCH="main"
- name: build keepalived image
uses: toptal/jenkins-job-trigger-action@137fff703dd260b52b53d3ba1960396415abc568 # 1.0.2
with:
jenkins_url: "https://jenkins.nordix.org/"
jenkins_user: "[email protected]"
jenkins_token: ${{ secrets.JENKINS_TOKEN }}
job_name: "metal3_keepalived_container_image_building"
job_params: |
{
"BUILD_CONTAINER_IMAGE_NAME": "keepalived",
"BUILD_CONTAINER_IMAGE_BRANCH": "${{ github.ref }}"
}
job_timeout: "1000"
Loading