-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable building latest megaservice image on push event in CI
Signed-off-by: Yingchun Guo <[email protected]>
- Loading branch information
1 parent
2b51374
commit b27ad19
Showing
4 changed files
with
49 additions
and
4 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,30 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Test | ||
name: Build latest images on push event | ||
|
||
on: | ||
push: | ||
branches: [ 'main', 'daisyonpush' ] | ||
paths: | ||
- "**/docker/*.py" | ||
- "**/docker/Dockerfile" | ||
- "**/docker/ui/**" | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-on-push | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
job1: | ||
uses: ./.github/workflows/reuse-get-test-matrix.yml | ||
|
||
mega-image-build: | ||
needs: job1 | ||
strategy: | ||
matrix: ${{ fromJSON(needs.job1.outputs.run_matrix) }} | ||
uses: ./.github/workflows/reuse-image-build.yml | ||
with: | ||
image-tag: latest | ||
mega-service: "${{ matrix.example }}" |
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Test | ||
import asyncio | ||
import os | ||
|
||
|