GenAIInfra GMC CD workflow on manual event #1
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
# Copyright (C) 2024 Intel Corporation | |
# SPDX-License-Identifier: Apache-2.0 | |
name: GenAIInfra GMC CD workflow on manual event | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
default: "latest" | |
description: "Tag to apply to images" | |
required: true | |
type: string | |
build: | |
default: true | |
description: 'Build test required images for Examples' | |
required: false | |
type: boolean | |
scan: | |
default: true | |
description: 'Scan all images with Trivy' | |
required: false | |
type: boolean | |
test_gmc: | |
default: true | |
description: 'Test GMC on Xeon KIND' | |
required: false | |
type: boolean | |
publish: | |
default: false | |
description: 'Publish images to docker hub' | |
required: false | |
type: boolean | |
publish_tags: | |
default: "latest,v0.9" | |
description: 'Tag list apply to publish images' | |
required: false | |
type: string | |
permissions: read-all | |
jobs: | |
gmc-release: | |
uses: ./.github/workflows/_infra-workflow.yaml | |
with: | |
tag: ${{ inputs.tag }} | |
build: ${{ fromJSON(inputs.build) }} | |
scan: ${{ fromJSON(inputs.scan) }} | |
test_gmc: ${{ fromJSON(inputs.test_gmc) }} | |
publish: ${{ fromJSON(inputs.publish) }} | |
publish_tags: ${{ fromJSON(inputs.publish_tags) }} | |
secrets: inherit |