File tree Expand file tree Collapse file tree 6 files changed +91
-8
lines changed Expand file tree Collapse file tree 6 files changed +91
-8
lines changed Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44name : Build Images
5- permissions : read-all
5+ permissions :
6+ actions : read
7+ contents : read
8+ checks : read
9+ deployments : read
10+ discussions : read
11+ issues : read
12+ packages : read
13+ pages : read
14+ pull-requests : read
15+ repository-projects : read
16+ statuses : read
17+ security-events : read
18+ id-token : write
19+ attestations : read
20+ models : read
621on :
722 workflow_call :
823 inputs :
Original file line number Diff line number Diff line change 33
44name : Example jobs
55permissions :
6- contents : read
7- id-token : write
86 actions : read
9- attestations : read
7+ contents : read
108 checks : read
119 deployments : read
1210 discussions : read
1311 issues : read
14- models : read
1512 packages : read
1613 pages : read
1714 pull-requests : read
1815 repository-projects : read
1916 statuses : read
2017 security-events : read
18+ id-token : write
19+ attestations : read
20+ models : read
2121on :
2222 workflow_call :
2323 inputs :
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44name : Get Image List
5- permissions : read-all
5+ permissions :
6+ contents : read
67on :
78 workflow_call :
89 inputs :
Original file line number Diff line number Diff line change 33
44name : Clean up Local Registry on manual event
55permissions :
6+ actions : read
67 contents : read
8+ checks : read
9+ deployments : read
10+ discussions : read
11+ issues : read
12+ packages : read
13+ pages : read
14+ pull-requests : read
15+ repository-projects : read
16+ statuses : read
17+ security-events : read
18+ id-token : write
19+ attestations : read
20+ models : read
721on :
822 workflow_dispatch :
923 inputs :
Original file line number Diff line number Diff line change 33
44name : Nightly build/publish latest docker images
55permissions :
6- contents : read
6+ security-events : read
7+
78on :
89 schedule :
910 - cron : " 30 14 * * 1-5" # UTC time
1011 workflow_dispatch :
1112
1213env :
13- EXAMPLES : ${{ vars.NIGHTLY_RELEASE_EXAMPLES }}
14+ EXAMPLES : " DBQnA " # ${{ vars.NIGHTLY_RELEASE_EXAMPLES }}
1415 TAG : " latest"
1516 PUBLISH_TAGS : " latest"
1617
@@ -34,12 +35,32 @@ jobs:
3435 echo "PUBLISH_TAGS=$PUBLISH_TAGS" >> $GITHUB_OUTPUT
3536
3637 build-comps-base :
38+ permissions :
39+ attestations : read
40+ models : read
41+ security-events : read
3742 needs : [get-build-matrix]
3843 uses : ./.github/workflows/_build_comps_base_image.yml
3944 with :
4045 node : gaudi
4146
4247 build-images :
48+ permissions :
49+ actions : read
50+ contents : read
51+ checks : read
52+ deployments : read
53+ discussions : read
54+ issues : read
55+ packages : read
56+ pages : read
57+ pull-requests : read
58+ repository-projects : read
59+ statuses : read
60+ security-events : read
61+ id-token : write
62+ attestations : read
63+ models : read
4364 needs : [get-build-matrix, build-comps-base]
4465 strategy :
4566 matrix :
5475
5576 test-example :
5677 needs : [get-build-matrix]
78+ permissions :
79+ actions : read
80+ contents : read
81+ checks : read
82+ deployments : read
83+ discussions : read
84+ issues : read
85+ packages : read
86+ pages : read
87+ pull-requests : read
88+ repository-projects : read
89+ statuses : read
90+ security-events : read
91+ id-token : write
92+ attestations : read
93+ models : read
5794 if : ${{ needs.get-build-matrix.outputs.examples_json != '' }}
5895 strategy :
5996 matrix :
70107
71108 get-image-list :
72109 needs : [get-build-matrix]
110+ permissions :
111+ contents : read
73112 uses : ./.github/workflows/_get-image-list.yml
74113 with :
75114 examples : ${{ needs.get-build-matrix.outputs.EXAMPLES }}
Original file line number Diff line number Diff line change 44name : Build latest images on push event
55
66permissions :
7+ actions : read
78 contents : read
9+ checks : read
10+ deployments : read
11+ discussions : read
12+ issues : read
13+ packages : read
14+ pages : read
15+ pull-requests : read
16+ repository-projects : read
17+ statuses : read
18+ security-events : read
19+ id-token : write
20+ attestations : read
21+ models : read
822
923on :
1024 push :
You can’t perform that action at this time.
0 commit comments