From 93733e7db9dcb3350fbc12b4bc86e7328aa3b675 Mon Sep 17 00:00:00 2001 From: Ciara Stacke Date: Mon, 6 Oct 2025 13:17:37 +0100 Subject: [PATCH] Add plus secrets for image building in tests --- .github/workflows/conformance.yml | 3 +++ .github/workflows/functional.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index fb6d7b909e..f44af845ac 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -133,6 +133,9 @@ jobs: NJS_DIR=internal/controller/nginx/modules/src NGINX_CONF_DIR=internal/controller/nginx/conf BUILD_AGENT=gha + secrets: | + ${{ contains(inputs.image, 'plus') && format('"nginx-repo.crt={0}"', secrets.NGINX_CRT) || '' }} + ${{ contains(inputs.image, 'plus') && format('"nginx-repo.key={0}"', secrets.NGINX_KEY) || '' }} - name: Update Go Modules if: ${{ github.event_name == 'schedule' }} diff --git a/.github/workflows/functional.yml b/.github/workflows/functional.yml index d092f3145c..6999da7605 100644 --- a/.github/workflows/functional.yml +++ b/.github/workflows/functional.yml @@ -117,6 +117,9 @@ jobs: NJS_DIR=internal/controller/nginx/modules/src NGINX_CONF_DIR=internal/controller/nginx/conf BUILD_AGENT=gha + secrets: | + ${{ contains(inputs.image, 'plus') && format('"nginx-repo.crt={0}"', secrets.NGINX_CRT) || '' }} + ${{ contains(inputs.image, 'plus') && format('"nginx-repo.key={0}"', secrets.NGINX_KEY) || '' }} - name: Setup license file for plus if: ${{ inputs.image == 'plus' }}