Skip to content

Commit c1cc257

Browse files
committed
add secrets for installing agentv3
1 parent 5160862 commit c1cc257

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-oss.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ jobs:
137137
build-args: |
138138
BUILD_OS=${{ inputs.image }}
139139
IC_VERSION=${{ inputs.ic-version && inputs.ic-version || steps.meta.outputs.version }}
140+
secrets: |
141+
"nginx-repo.crt=${{ secrets.NGINX_CRT }}"
142+
"nginx-repo.key=${{ secrets.NGINX_KEY }}"
140143
if: ${{ inputs.authenticated && steps.images_exist.outputs.base_exists != 'true' }}
141144

142145
- name: Debug values
@@ -176,6 +179,9 @@ jobs:
176179
BUILD_OS=${{ inputs.image }}
177180
${{ inputs.authenticated && format('PREBUILT_BASE_IMG={0}', steps.base_name.outputs.image) }}
178181
IC_VERSION=${{ inputs.ic-version && inputs.ic-version || steps.meta.outputs.version }}
182+
secrets: |
183+
"nginx-repo.crt=${{ secrets.NGINX_CRT }}"
184+
"nginx-repo.key=${{ secrets.NGINX_KEY }}"
179185
if: ${{ steps.images_exist.outputs.base_exists != 'true' || steps.images_exist.outputs.target_exists != 'true' }}
180186

181187
- name: Make directory for security scan results

0 commit comments

Comments
 (0)