@@ -121,7 +121,7 @@ jobs:
121
121
collapse-after : 20
122
122
notes-header : |
123
123
*Below is the auto-generated changelog, which includes all PRs that went into the release.
124
- For a shorter version that highlights only important changes, see [CHANGELOG.md](https://github.com/nginxinc/nginx-kubernetes- gateway/blob/{{version}}/CHANGELOG.md).*
124
+ For a shorter version that highlights only important changes, see [CHANGELOG.md](https://github.com/nginxinc/nginx-gateway-fabric /blob/{{version}}/CHANGELOG.md).*
125
125
if : ${{ github.event_name == 'push' && github.ref != 'refs/heads/main' }}
126
126
127
127
- name : Download Syft
@@ -149,7 +149,7 @@ jobs:
149
149
uses : actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
150
150
with :
151
151
path : ${{ github.workspace }}/dist
152
- key : nginx-kubernetes- gateway-${{ github.run_id }}-${{ github.run_number }}
152
+ key : nginx-gateway-fabric -${{ github.run_id }}-${{ github.run_number }}
153
153
154
154
helm-tests :
155
155
name : Helm Tests
@@ -163,17 +163,17 @@ jobs:
163
163
uses : actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
164
164
with :
165
165
path : ${{ github.workspace }}/dist
166
- key : nginx-kubernetes- gateway-${{ github.run_id }}-${{ github.run_number }}
166
+ key : nginx-gateway-fabric -${{ github.run_id }}-${{ github.run_number }}
167
167
168
168
- name : Docker Buildx
169
169
uses : docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
170
170
171
- - name : NKG Docker meta
172
- id : nkg -meta
171
+ - name : NGF Docker meta
172
+ id : ngf -meta
173
173
uses : docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
174
174
with :
175
175
images : |
176
- name=ghcr.io/nginxinc/nginx-kubernetes- gateway
176
+ name=ghcr.io/nginxinc/nginx-gateway-fabric
177
177
tags : |
178
178
type=semver,pattern={{version}}
179
179
type=edge
@@ -185,23 +185,23 @@ jobs:
185
185
uses : docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
186
186
with :
187
187
images : |
188
- name=ghcr.io/nginxinc/nginx-kubernetes- gateway/nginx
188
+ name=ghcr.io/nginxinc/nginx-gateway-fabric /nginx
189
189
tags : |
190
190
type=semver,pattern={{version}}
191
191
type=edge
192
192
type=ref,event=pr
193
193
type=ref,event=branch,suffix=-rc,enable=${{ startsWith(github.ref, 'refs/heads/release') }}
194
194
195
- - name : Build NKG Docker Image
195
+ - name : Build NGF Docker Image
196
196
uses : docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
197
197
with :
198
198
file : build/Dockerfile
199
- tags : ${{ steps.nkg -meta.outputs.tags }}
199
+ tags : ${{ steps.ngf -meta.outputs.tags }}
200
200
context : " ."
201
201
target : goreleaser
202
202
load : true
203
- cache-from : type=gha,scope=nkg
204
- cache-to : type=gha,scope=nkg ,mode=max
203
+ cache-from : type=gha,scope=ngf
204
+ cache-to : type=gha,scope=ngf ,mode=max
205
205
pull : true
206
206
207
207
- name : Build NGINX Docker Image
@@ -224,19 +224,19 @@ jobs:
224
224
kube_config=${{ github.workspace }}/deploy/helm-chart/kube-${{ github.run_id }}-helm
225
225
make create-kind-cluster KIND_KUBE_CONFIG=${kube_config}
226
226
echo "KUBECONFIG=${kube_config}" >> "$GITHUB_ENV"
227
- kind load docker-image ${{ steps.nkg -meta.outputs.tags }} ${{ steps.nginx-meta.outputs.tags }}
227
+ kind load docker-image ${{ steps.ngf -meta.outputs.tags }} ${{ steps.nginx-meta.outputs.tags }}
228
228
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v0.8.0/standard-install.yaml
229
229
kubectl wait --for=condition=complete job/gateway-api-admission-patch job/gateway-api-admission -n gateway-system
230
230
231
231
- name : Install Chart
232
232
run : >
233
233
helm install
234
- helm-$(echo ${{ steps.nkg -meta.outputs.tags }} | tr '.' '-' | cut -d ":" -f 2)
234
+ helm-$(echo ${{ steps.ngf -meta.outputs.tags }} | tr '.' '-' | cut -d ":" -f 2)
235
235
.
236
236
--wait
237
237
--create-namespace
238
- --set nginxGateway.image.repository=$(echo ${{ steps.nkg -meta.outputs.tags }} | cut -d ":" -f 1)
239
- --set nginxGateway.image.tag=$(echo ${{ steps.nkg -meta.outputs.tags }} | cut -d ":" -f 2)
238
+ --set nginxGateway.image.repository=$(echo ${{ steps.ngf -meta.outputs.tags }} | cut -d ":" -f 1)
239
+ --set nginxGateway.image.tag=$(echo ${{ steps.ngf -meta.outputs.tags }} | cut -d ":" -f 2)
240
240
--set nginxGateway.image.pullPolicy=Never
241
241
--set nginx.image.repository=$(echo ${{ steps.nginx-meta.outputs.tags }} | cut -d ":" -f 1)
242
242
--set nginx.image.tag=$(echo ${{ steps.nginx-meta.outputs.tags }} | cut -d ":" -f 2)
@@ -252,7 +252,7 @@ jobs:
252
252
strategy :
253
253
fail-fast : false
254
254
matrix :
255
- container : [nkg , nginx]
255
+ container : [ngf , nginx]
256
256
permissions :
257
257
contents : read # for docker/build-push-action to read repo content
258
258
security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
@@ -265,7 +265,7 @@ jobs:
265
265
uses : actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
266
266
with :
267
267
path : ${{ github.workspace }}/dist
268
- key : nginx-kubernetes- gateway-${{ github.run_id }}-${{ github.run_number }}
268
+ key : nginx-gateway-fabric -${{ github.run_id }}-${{ github.run_number }}
269
269
270
270
- name : Docker Buildx
271
271
uses : docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
@@ -288,7 +288,7 @@ jobs:
288
288
uses : docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
289
289
with :
290
290
images : |
291
- name=ghcr.io/nginxinc/nginx-kubernetes- gateway${{ matrix.container == 'nginx' && '/nginx' || '' }}
291
+ name=ghcr.io/nginxinc/nginx-gateway-fabric ${{ matrix.container == 'nginx' && '/nginx' || '' }}
292
292
tags : |
293
293
type=semver,pattern={{version}}
294
294
type=edge
@@ -300,7 +300,7 @@ jobs:
300
300
with :
301
301
file : ${{ matrix.container == 'nginx' && 'build/Dockerfile.nginx' || 'build/Dockerfile' }}
302
302
context : " ."
303
- target : ${{ matrix.container == 'nkg ' && 'goreleaser' || '' }}
303
+ target : ${{ matrix.container == 'ngf ' && 'goreleaser' || '' }}
304
304
tags : ${{ steps.meta.outputs.tags }}
305
305
labels : ${{ steps.meta.outputs.labels }}
306
306
load : ${{ github.event_name == 'pull_request' }}
@@ -320,23 +320,23 @@ jobs:
320
320
uses : aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # 0.12.0
321
321
continue-on-error : true
322
322
with :
323
- image-ref : ghcr.io/nginxinc/nginx-kubernetes- gateway${{ matrix.container == 'nginx' && '/nginx' || '' }}:${{ steps.meta.outputs.version }}
323
+ image-ref : ghcr.io/nginxinc/nginx-gateway-fabric ${{ matrix.container == 'nginx' && '/nginx' || '' }}:${{ steps.meta.outputs.version }}
324
324
format : " sarif"
325
- output : trivy-results-nginx-kubernetes- gateway${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
325
+ output : trivy-results-nginx-gateway-fabric ${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
326
326
ignore-unfixed : " true"
327
327
328
328
- name : Upload Trivy scan results to GitHub Security tab
329
329
uses : github/codeql-action/upload-sarif@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # v2.21.8
330
330
continue-on-error : true
331
331
with :
332
- sarif_file : trivy-results-nginx-kubernetes- gateway${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
332
+ sarif_file : trivy-results-nginx-gateway-fabric ${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
333
333
334
334
- name : Upload Scan Results
335
335
uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
336
336
continue-on-error : true
337
337
with :
338
- name : trivy-results-nginx-kubernetes- gateway${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
339
- path : trivy-results-nginx-kubernetes- gateway${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
338
+ name : trivy-results-nginx-gateway-fabric ${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
339
+ path : trivy-results-nginx-gateway-fabric ${{ matrix.container == 'nginx' && '-nginx' || '' }}.sarif
340
340
if : always()
341
341
342
342
publish-helm :
0 commit comments