@@ -100,6 +100,14 @@ jobs:
100
100
labels : |
101
101
org.opencontainers.image.documentation=https://docs.nginx.com/nginx-gateway-fabric
102
102
org.opencontainers.image.vendor=NGINX Inc <[email protected] >
103
+ annotations : |
104
+ org.opencontainers.image.documentation=https://docs.nginx.com/nginx-gateway-fabric
105
+ org.opencontainers.image.vendor=NGINX Inc <[email protected] >
106
+ io.artifacthub.package.readme-url=https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/main/README.md
107
+ io.artifacthub.package.logo-url=https://docs.nginx.com/nginx-gateway-fabric/images/icons/NGINX-product-icon.svg
108
+ io.artifacthub.package.maintainers=[{"name":"NGINX Inc","email":"[email protected] "}]
109
+ io.artifacthub.package.license=Apache-2.0
110
+ io.artifacthub.package.keywords=kubernetes,gateway,nginx
103
111
env :
104
112
DOCKER_METADATA_ANNOTATIONS_LEVELS : manifest,index
105
113
@@ -119,7 +127,7 @@ jobs:
119
127
pull : true
120
128
no-cache : ${{ github.event_name != 'pull_request' }}
121
129
sbom : true
122
- provenance : true
130
+ provenance : mode=max
123
131
build-args : |
124
132
NJS_DIR=internal/mode/static/nginx/modules/src
125
133
NGINX_CONF_DIR=internal/mode/static/nginx/conf
@@ -128,9 +136,10 @@ jobs:
128
136
${{ contains(inputs.image, 'plus') && format('"nginx-repo.crt={0}"', secrets.NGINX_CRT) || '' }}
129
137
${{ contains(inputs.image, 'plus') && format('"nginx-repo.key={0}"', secrets.NGINX_KEY) || '' }}
130
138
131
- - name : Inspect SBOM
139
+ - name : Inspect SBOM and output manifest
132
140
run : |
133
141
docker buildx imagetools inspect localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }} --format '{{ json (index .SBOM "linux/amd64").SPDX }}' > sbom-${{ inputs.image }}.json
142
+ docker buildx imagetools inspect localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }} --raw
134
143
135
144
- name : Scan SBOM
136
145
id : scan
@@ -150,6 +159,8 @@ jobs:
150
159
uses : actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
151
160
continue-on-error : true
152
161
with :
153
- name : scan-results-${{ inputs.image }}.sarif
154
- path : ${{ steps.scan.outputs.sarif }}
162
+ name : scan-results-${{ inputs.image }}
163
+ path : |
164
+ ${{ steps.scan.outputs.sarif }}
165
+ !sbom-nginx-plus.json
155
166
if : always()
0 commit comments