Skip to content

Commit

Permalink
Merge pull request #456 from Nordix/mquhuy/add-tag-trigger
Browse files Browse the repository at this point in the history
🌱 Add tag trigger to images building wf
  • Loading branch information
metal3-io-bot authored Jan 15, 2024
2 parents 8605ad1 + c967fd5 commit 647f300
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-images-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: build-images-action
on:
push:
branches:
- main
- 'main'
- 'release-*'
tags:
- 'v*'
permissions: {}
jobs:
build:
Expand All @@ -22,8 +24,7 @@ jobs:
job_name: "metal3_ironic_container_image_building"
job_params: |
{
"BUILD_CONTAINER_IMAGE_NAME": "ironic",
"BUILD_CONTAINER_IMAGE_BRANCH": "${{ github.ref }}"
"BUILD_CONTAINER_IMAGE_GIT_REFERENCE": "${{ github.ref }}"
}
job_timeout: "1000"
- name: build sushy-tools image
Expand All @@ -35,8 +36,7 @@ jobs:
job_name: "metal3_sushy-tools_container_image_building"
job_params: |
{
"BUILD_CONTAINER_IMAGE_NAME": "sushy-tools",
"BUILD_CONTAINER_IMAGE_BRANCH": "${{ github.ref }}"
"BUILD_CONTAINER_IMAGE_GIT_REFERENCE": "${{ github.ref }}"
}
job_timeout: "1000"
- name: build vbmc image
Expand All @@ -48,7 +48,6 @@ jobs:
job_name: "metal3_vbmc_container_image_building"
job_params: |
{
"BUILD_CONTAINER_IMAGE_NAME": "vbmc",
"BUILD_CONTAINER_IMAGE_BRANCH": "${{ github.ref }}"
"BUILD_CONTAINER_IMAGE_GIT_REFERENCE": "${{ github.ref }}"
}
job_timeout: "1000"

0 comments on commit 647f300

Please sign in to comment.