-
Notifications
You must be signed in to change notification settings - Fork 26
42 lines (39 loc) · 1.02 KB
/
manual-docker-build.yml
File metadata and controls
42 lines (39 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
name: Manual - Docker Build and Test
on:
workflow_dispatch:
inputs:
nodes:
default: "xeon"
description: "Hardware to run test"
required: true
type: string
tag:
default: "latest"
description: "Tag to apply to images"
required: true
type: string
e2e_test:
default: true
description: "Run E2E test after build"
required: false
type: boolean
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-on-manual-dispatch
cancel-in-progress: true
jobs:
manual-build-images:
uses: ./.github/workflows/_build-image-to-registry.yml
with:
node: ${{ inputs.nodes }}
tag: ${{ inputs.tag }}
secrets: inherit
manual-run-e2e-test:
if: ${{ inputs.e2e_test }}
uses: ./.github/workflows/_e2e-test.yml
needs: manual-build-images
with:
node: ${{ inputs.nodes }}
tag: ${{ inputs.tag }}
secrets: inherit