File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,9 +134,9 @@ jobs:
134134 publish-container : true
135135 image-repository-prefix : ${{ format('ghcr.io/{0}', github.repository) }}
136136 overlay-branch : ${{ inputs.release-branch }}
137+ image-registry-user : ${{ github.actor }}
137138
138139 secrets :
139- image-registry-user : ${{ github.actor }}
140140 image-registry-password : ${{ secrets.GITHUB_TOKEN }}
141141
142142 permissions :
Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ name: Export Workspace as Dynamic Plugins Packages
22on :
33 workflow_call :
44 secrets :
5- image-registry-user :
6- description : User name to be used to push to container image registry
7- required : false
8-
95 image-registry-password :
106 description : Password to be used to push to container image registry
117 required : false
128
139 inputs :
10+ image-registry-user :
11+ description : User name to be used to push to container image registry
12+ type : string
13+ required : false
14+
1415 node-version :
1516 description : node-version to execute the export
1617 type : string
@@ -127,9 +128,9 @@ jobs:
127128 workspace-path : ${{ inputs.workspace-path }}
128129 publish-container : ${{ inputs.publish-container }}
129130 image-repository-prefix : ${{ inputs.image-repository-prefix }}
131+ image-registry-user : ${{ secrets.image-registry-user || github.actor }}
130132
131133 secrets :
132- image-registry-user : ${{ secrets.image-registry-user || github.actor }}
133134 image-registry-password : ${{ secrets.image-registry-password || secrets.GITHUB_TOKEN }}
134135
135136 permissions :
Original file line number Diff line number Diff line change @@ -172,9 +172,9 @@ jobs:
172172 publish-container : true
173173 image-repository-prefix : ${{ format('ghcr.io/{0}', github.repository) }}
174174 image-tag-prefix : ${{ format('pr_{0}__', needs.prepare.outputs.pr-number) }}
175+ image-registry-user : ${{ github.actor }}
175176
176177 secrets :
177- image-registry-user : ${{ github.actor }}
178178 image-registry-password : ${{ secrets.GITHUB_TOKEN }}
179179
180180 permissions :
Original file line number Diff line number Diff line change 6969 image-repository-prefix : ${{ format('ghcr.io/{0}', github.repository) }}
7070 last-publish-commit : ${{ needs.prepare.outputs.last-published-commit }}
7171 image-tag-prefix : ${{ github.ref_name == 'main' && 'next__' || '' }}
72+ image-registry-user : ${{ github.actor }}
7273
7374 secrets :
74- image-registry-user : ${{ github.actor }}
7575 image-registry-password : ${{ secrets.GITHUB_TOKEN }}
7676
7777 permissions :
You can’t perform that action at this time.
0 commit comments