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 1
1
name : build-images-action
2
+
2
3
on :
3
4
push :
4
5
branches :
5
- - ' main'
6
- - ' release-*'
6
+ - ' main'
7
+ - ' release-*'
8
+ tags :
9
+ - ' v*'
10
+
7
11
permissions : {}
12
+
8
13
jobs :
9
14
build :
10
15
name : Build container images
11
16
runs-on : ubuntu-latest
12
- if : github.repository == 'metal3-io/ip-address-manager'
17
+
13
18
permissions :
14
19
contents : read
20
+
21
+ if : github.repository == 'metal3-io/ip-address-manager'
15
22
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