-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add image build process on manual event (#270)
Signed-off-by: Yingchun Guo <yingchun.guo@intel.com>
- Loading branch information
1 parent
739788a
commit 833dcec
Showing
3 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Build GMC latest images on manual event | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
registry: | ||
default: "" | ||
description: "Registry to store images" | ||
required: false | ||
type: string | ||
tag: | ||
default: "latest" | ||
description: "Tag to apply to images" | ||
required: true | ||
type: string | ||
node: | ||
default: "[docker-build-xeon, docker-build-gaudi]" | ||
description: "Node to run the build on [docker-build-xeon, docker-build-gaudi]" | ||
required: true | ||
type: string | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-on-manual | ||
cancel-in-progress: true | ||
|
||
env: | ||
GOSRC_DIR: "microservices-connector" | ||
|
||
jobs: | ||
image-build: | ||
strategy: | ||
matrix: | ||
platform: ${{ github.event.inputs.node }} | ||
uses: ./.github/workflows/reuse-gmc-image-build.yaml | ||
with: | ||
image_repo: ${{ github.event.inputs.registry }} | ||
image_tag: ${{ github.event.inputs.tag }} | ||
runner_label: ${{ matrix.platform }} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters