Skip to content

Commit

Permalink
Add tag trigger to images building wf
Browse files Browse the repository at this point in the history
Signed-off-by: Huy Mai <[email protected]>
  • Loading branch information
mquhuy committed Jan 10, 2024
1 parent 14ae6e9 commit c967fd5
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 c967fd5

Please sign in to comment.