File tree Expand file tree Collapse file tree 1 file changed +22
-16
lines changed
Expand file tree Collapse file tree 1 file changed +22
-16
lines changed Original file line number Diff line number Diff line change 11name : build-images-action
2+
23on :
34 push :
45 branches :
5- - ' main'
6- - ' release-*'
6+ - ' main'
7+ - ' release-*'
8+ tags :
9+ - ' v*'
10+
711permissions : {}
12+
813jobs :
914 build :
1015 name : Build container images
1116 runs-on : ubuntu-latest
12- if : github.repository == 'metal3-io/ip-address-manager'
17+
1318 permissions :
1419 contents : read
20+
21+ if : github.repository == 'metal3-io/ip-address-manager'
1522 steps :
16- - name : build ipam image
17- uses : toptal/jenkins-job-trigger-action@137fff703dd260b52b53d3ba1960396415abc568 # 1.0.2
18- with :
19- jenkins_url : " https://jenkins.nordix.org/"
20- 21- jenkins_token : ${{ secrets.JENKINS_TOKEN }}
22- job_name : " metal3_ip-address-manager_container_image_building"
23- job_params : |
24- {
25- "BUILD_CONTAINER_IMAGE_NAME": "ip-address-manager",
26- "BUILD_CONTAINER_IMAGE_BRANCH": "${{ github.ref }}"
27- }
28- job_timeout : " 1000"
23+ - name : build ipam image
24+ uses : toptal/jenkins-job-trigger-action@137fff703dd260b52b53d3ba1960396415abc568 # 1.0.2
25+ with :
26+ jenkins_url : " https://jenkins.nordix.org/"
27+ 28+ jenkins_token : ${{ secrets.JENKINS_TOKEN }}
29+ job_name : " metal3_ip-address-manager_container_image_building"
30+ job_params : |
31+ {
32+ "BUILD_CONTAINER_IMAGE_GIT_REFERENCE": "${{ github.ref }}"
33+ }
34+ job_timeout : " 1000"
You can’t perform that action at this time.
0 commit comments