@@ -107,6 +107,7 @@ jobs:
107
107
name=ghcr.io/${{ github.repository_owner }}/nginx-gateway-fabric/nginx,enable=${{ inputs.image == 'nginx' && github.event_name != 'pull_request' }}
108
108
name=docker-mgmt.nginx.com/nginx-gateway-fabric/nginx-plus,enable=${{ inputs.image == 'plus' && github.event_name != 'pull_request' }}
109
109
name=us-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/nginx-gateway-fabric/nginx-plus,enable=${{ inputs.image == 'plus' && github.event_name != 'pull_request' }}
110
+ name=us-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/nginx-gateway-fabric-waf/nginx-plus,enable=${{ inputs.image == 'plus-waf' && github.event_name != 'pull_request' }}
110
111
name=localhost:5000/nginx-gateway-fabric/${{ inputs.image }}
111
112
flavor : |
112
113
latest=${{ (inputs.tag != '' && 'true') || 'auto' }}
@@ -134,7 +135,7 @@ jobs:
134
135
- name : Build Docker Image
135
136
uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
136
137
with :
137
- file : build/Dockerfile${{ inputs.image == 'nginx' && '.nginx' || '' }}${{ inputs.image == 'plus' && '.nginxplus' || '' }}
138
+ file : build/Dockerfile${{ inputs.image == 'nginx' && '.nginx' || '' }}${{ ( inputs.image == 'plus' || inputs.image == 'plus-waf') && '.nginxplus' || '' }}
138
139
context : " ."
139
140
target : ${{ inputs.image == 'ngf' && 'goreleaser' || '' }}
140
141
tags : ${{ steps.meta.outputs.tags }}
@@ -152,6 +153,8 @@ jobs:
152
153
NJS_DIR=internal/controller/nginx/modules/src
153
154
NGINX_CONF_DIR=internal/controller/nginx/conf
154
155
BUILD_AGENT=gha
156
+ ${{ inputs.image == 'plus-waf' && 'ALPINE_VERSION=3.19' || '' }}
157
+ ${{ inputs.image == 'plus-waf' && 'INCLUDE_NAP_WAF=true' || '' }}
155
158
secrets : |
156
159
${{ contains(inputs.image, 'plus') && format('"nginx-repo.crt={0}"', secrets.NGINX_CRT) || '' }}
157
160
${{ contains(inputs.image, 'plus') && format('"nginx-repo.key={0}"', secrets.NGINX_KEY) || '' }}
0 commit comments