|
40 | 40 | ref: ${{ inputs.tag != '' && format('refs/tags/v{0}', inputs.tag) || github.ref }} |
41 | 41 |
|
42 | 42 | - name: Fetch Cached Artifacts |
43 | | - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 |
| 43 | + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 |
44 | 44 | with: |
45 | 45 | path: ${{ github.workspace }}/dist |
46 | 46 | key: nginx-gateway-fabric-${{ github.run_id }}-${{ github.run_number }} |
@@ -103,8 +103,8 @@ jobs: |
103 | 103 | with: |
104 | 104 | context: ${{ inputs.tag != '' && 'git' || 'workflow' }} |
105 | 105 | images: | |
106 | | - name=ghcr.io/nginx/nginx-gateway-fabric,enable=${{ inputs.image == 'ngf' && github.event_name != 'pull_request' }} |
107 | | - name=ghcr.io/nginx/nginx-gateway-fabric/nginx,enable=${{ inputs.image == 'nginx' && github.event_name != 'pull_request' }} |
| 106 | + name=ghcr.io/${{ github.repository_owner }}/nginx-gateway-fabric,enable=${{ inputs.image == 'ngf' && github.event_name != 'pull_request' }} |
| 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 | 110 | name=localhost:5000/nginx-gateway-fabric/${{ inputs.image }} |
@@ -132,7 +132,7 @@ jobs: |
132 | 132 | DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index |
133 | 133 |
|
134 | 134 | - name: Build Docker Image |
135 | | - uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0 |
| 135 | + uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0 |
136 | 136 | with: |
137 | 137 | file: build/Dockerfile${{ inputs.image == 'nginx' && '.nginx' || '' }}${{ inputs.image == 'plus' && '.nginxplus' || '' }} |
138 | 138 | context: "." |
@@ -171,15 +171,15 @@ jobs: |
171 | 171 | fail-build: false |
172 | 172 |
|
173 | 173 | - name: Upload scan result to GitHub Security tab |
174 | | - uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 |
| 174 | + uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10 |
175 | 175 | continue-on-error: true |
176 | 176 | with: |
177 | 177 | sarif_file: ${{ steps.scan.outputs.sarif }} |
178 | 178 | category: build-${{ inputs.image }} |
179 | 179 | if: always() |
180 | 180 |
|
181 | 181 | - name: Upload Scan Results |
182 | | - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 |
| 182 | + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 |
183 | 183 | continue-on-error: true |
184 | 184 | with: |
185 | 185 | name: scan-results-${{ inputs.image }} |
|
0 commit comments