Skip to content

Commit

Permalink
Merge pull request #47 from Nordix/mquhuy/add-container-image-build-a…
Browse files Browse the repository at this point in the history
…ction

Add github action to trigger container images build
  • Loading branch information
metal3-io-bot committed Jan 17, 2024
2 parents d65cfe2 + f0c21c8 commit ca8527c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-images-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: build-images-action
on:
push:
branches:
- 'main'
permissions: {}
jobs:
build:
name: Build container images
runs-on: ubuntu-latest
if: github.repository == 'metal3-io/ironic-ipa-downloader'
permissions:
contents: read
steps:
- name: build ipa downloader image
uses: toptal/jenkins-job-trigger-action@137fff703dd260b52b53d3ba1960396415abc568 # 1.0.2
with:
jenkins_url: "https://jenkins.nordix.org/"
jenkins_user: "metal3.bot@gmail.com"
jenkins_token: ${{ secrets.JENKINS_TOKEN }}
job_name: "metal3_ironic-ipa-downloader_container_image_building"
job_params: |
{
"BUILD_CONTAINER_IMAGE_GIT_REFERENCE": "${{ github.ref }}"
}
job_timeout: "1000"

0 comments on commit ca8527c

Please sign in to comment.