Skip to content

Commit 0c10fe8

Browse files
committed
fix build image action for release-1.6
Fix build image action for release-1.6. Signed-off-by: Tuomo Tanskanen <[email protected]>
1 parent 0c26a0e commit 0c10fe8

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed
Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
11
name: build-images-action
2+
23
on:
34
push:
45
branches:
5-
- 'main'
6-
- 'release-*'
6+
- 'main'
7+
- 'release-*'
8+
tags:
9+
- 'v*'
10+
711
permissions: {}
12+
813
jobs:
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-
jenkins_user: "[email protected]"
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+
jenkins_user: "[email protected]"
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"

0 commit comments

Comments
 (0)