Skip to content

Commit

Permalink
Merge pull request #20 from Nordix/mquhuy/add-tag-trigger
Browse files Browse the repository at this point in the history
Add git tag trigger to container build wf
  • Loading branch information
metal3-io-bot authored Jan 10, 2024
2 parents 0803a0b + 3ebe452 commit 9e4823b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-images-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- 'main'
- 'release-*'
tags:
- 'capm3-v*'
permissions: {}
jobs:
build:
Expand All @@ -13,7 +15,7 @@ jobs:
permissions:
contents: read
steps:
- name: build mariabd image
- name: build mariadb image
uses: toptal/jenkins-job-trigger-action@137fff703dd260b52b53d3ba1960396415abc568 # 1.0.2
with:
jenkins_url: "https://jenkins.nordix.org/"
Expand All @@ -22,7 +24,6 @@ jobs:
job_name: "metal3_mariadb_container_image_building"
job_params: |
{
"BUILD_CONTAINER_IMAGE_NAME": "mariadb",
"BUILD_CONTAINER_IMAGE_BRANCH": "${{ github.ref }}"
"BUILD_CONTAINER_IMAGE_GIT_REFERENCE": "${{ github.ref }}"
}
job_timeout: "1000"

0 comments on commit 9e4823b

Please sign in to comment.