File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,9 @@ jobs:
198198 with :
199199 sarif_file : ${{ steps.scan.outputs.sarif }}
200200 category : build-${{ inputs.image }}
201+
202+ - name : Show all image tags for debugging
203+ run : echo "${{ steps.meta.outputs.tags }}"
201204
202205 - name : Login to GitHub Container Registry
203206 uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
@@ -218,4 +221,4 @@ jobs:
218221 uses : actions/upload-artifact@v4
219222 with :
220223 name : ${{ inputs.image }}-${{ steps.meta.outputs.version }}
221- path : ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
224+ path : ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
Original file line number Diff line number Diff line change 6363 jq '.results.failed' preflight-result.json
6464 exit 1
6565 fi
66+
67+ cleanup :
68+ runs-on : ubuntu-24.04
69+ if : always()
70+ steps :
71+ - name : Delete image from registry
72+ run : |
73+ curl -X DELETE "https://ghcr.io/v2/${{ github.repository_owner }}/nginx-gateway-fabric/${{ inputs.image }}:${{ inputs.image_version }}" \
74+ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments