File tree 2 files changed +34
-0
lines changed
2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 157
157
run : |
158
158
cd tooling/image-sync
159
159
make push
160
+
161
+ build_push_package_operator :
162
+ permissions :
163
+ id-token : ' write'
164
+ contents : ' read'
165
+ runs-on : ' ubuntu-latest'
166
+ steps :
167
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
168
+ with :
169
+ fetch-depth : 1
170
+
171
+ - name : " install azure-cli"
172
+ if : inputs.push == true
173
+ uses : " Azure/ARO-HCP@main"
174
+
175
+ - name : ' Az CLI login'
176
+ if : inputs.push == true
177
+ uses : azure/login@v2
178
+ with :
179
+ client-id : ${{ secrets.AZURE_CLIENT_ID }}
180
+ tenant-id : ${{ secrets.AZURE_TENANT_ID }}
181
+ subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
182
+
183
+ -
name :
Build package operator container image from [email protected] :package-operator/package-operator.git
184
+ run : |
185
+ cd pko
186
+ make image
Original file line number Diff line number Diff line change @@ -36,4 +36,11 @@ deploy:
36
36
--set serviceAccount.workloadIdentityClientId=" $$ {PKO_MI_CLIENT_ID}" \
37
37
--set serviceAccount.workloadIdentityTenantId=" $$ {PKO_MI_CLIENT_ID}"
38
38
39
+ image :
40
+ cd $$(mktemp -d ) && \
41
+ git clone
[email protected] :package-operator/package-operator.git
&& \
42
+ cd package-operator && \
43
+ git checkout ${PKO_IMAGE_TAG} && \
44
+ IMAGE_REGISTRY=${ARO_HCP_IMAGE_REGISTRY} /package-operator ./do ci:release
45
+
39
46
.PHONY : deploy
You can’t perform that action at this time.
0 commit comments