Skip to content

Commit 6e22e50

Browse files
authored
Add plus secrets for image building in tests (#4020)
1 parent 20d3910 commit 6e22e50

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/conformance.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ jobs:
133133
NJS_DIR=internal/controller/nginx/modules/src
134134
NGINX_CONF_DIR=internal/controller/nginx/conf
135135
BUILD_AGENT=gha
136+
secrets: |
137+
${{ contains(inputs.image, 'plus') && format('"nginx-repo.crt={0}"', secrets.NGINX_CRT) || '' }}
138+
${{ contains(inputs.image, 'plus') && format('"nginx-repo.key={0}"', secrets.NGINX_KEY) || '' }}
136139
137140
- name: Update Go Modules
138141
if: ${{ github.event_name == 'schedule' }}

.github/workflows/functional.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ jobs:
117117
NJS_DIR=internal/controller/nginx/modules/src
118118
NGINX_CONF_DIR=internal/controller/nginx/conf
119119
BUILD_AGENT=gha
120+
secrets: |
121+
${{ contains(inputs.image, 'plus') && format('"nginx-repo.crt={0}"', secrets.NGINX_CRT) || '' }}
122+
${{ contains(inputs.image, 'plus') && format('"nginx-repo.key={0}"', secrets.NGINX_KEY) || '' }}
120123
121124
- name: Setup license file for plus
122125
if: ${{ inputs.image == 'plus' }}

0 commit comments

Comments
 (0)