Skip to content

fix(container): update image kyverno to v3.0.4 #348

fix(container): update image kyverno to v3.0.4

fix(container): update image kyverno to v3.0.4 #348

Workflow file for this run

---
name: "Flux Diff"
on:
pull_request:
branches: ["main"]
paths: ["kubernetes/**.yaml"]
jobs:
flux-diff:
name: Flux Diff
runs-on: ubuntu-latest
strategy:
matrix:
path: ["kubernetes"]
resource: ["helmrelease", "kustomization"]
steps:
- name: Generate Token
uses: tibdex/[email protected]
id: generate-token
with:
app_id: "${{ secrets.HOMEOPS_BOT_APP_ID }}"
private_key: "${{ secrets.HOMEOPS_BOT_PRIVATE_KEY }}"
- name: Diff Resources
uses: allenporter/flux-local/action/diff@663d45c3cc066ef093a0dfbf900fd91a5f7ef69e # 3.1.0
id: diff
with:
path: "${{ matrix.path }}"
resource: "${{ matrix.resource }}"
- if: ${{ steps.diff.outputs.diff != '' }}
name: Add comment
uses: mshick/add-pr-comment@7c0890544fb33b0bdd2e59467fbacb62e028a096 # v2.8.1
with:
repo-token: "${{ steps.generate-token.outputs.token }}"
message-id: "${{ github.event.pull_request.number }}/${{ matrix.path }}/${{ matrix.resource }}"
message-failure: Diff was not successful
message: |
```diff
${{ steps.diff.outputs.diff }}
```