File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: CI Build all products
3
3
on :
4
4
workflow_call :
5
5
6
- permissions : {}
6
+ permissions :
7
+ packages : read
7
8
8
9
jobs :
9
10
build_all :
50
51
shell : bash
51
52
run : |
52
53
mkdir -p "$ROOT_DEP" && cd "$_" || exit 1
53
-
54
+
55
+ - name : Log in to the Container registry
56
+ if : ${{ matrix.builds[2] == 'linux' }}
57
+ uses : docker/login-action@v3
58
+ with :
59
+ registry : ghcr.io
60
+ username : ${{ github.actor }}
61
+ password : ${{ secrets.GITHUB_TOKEN }}
62
+
54
63
- name : Compile
55
64
shell : bash
56
65
run : |
Original file line number Diff line number Diff line change @@ -176,6 +176,8 @@ jobs:
176
176
177
177
build_all :
178
178
name : Build
179
+ permissions :
180
+ packages : read
179
181
needs : input_validation
180
182
if : ${{ needs.input_validation.outputs.requires_compilation == 'true' }}
181
183
uses : ./.github/workflows/ci_build.yml
You can’t perform that action at this time.
0 commit comments