chore(container): update ghcr.io/gethomepage/homepage docker tag to v0.10.5 #2414
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Flux differ | |
on: | |
pull_request: | |
branches: ['*'] | |
paths: ['cluster/**.yaml'] | |
jobs: | |
flux-differ: | |
name: Flux differ | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
strategy: | |
matrix: | |
path: ["cluster"] | |
resource: ["helmrelease", "kustomization"] | |
steps: | |
- name: Generate token | |
uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: "${{ secrets.BOT_APP_ID }}" | |
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: Setup Flux CLI | |
uses: fluxcd/flux2/action@v2.4.0 | |
- name: Diff resources | |
uses: allenporter/flux-local/action/diff@5.5.1 | |
id: diff | |
with: | |
sources: flux-system | |
path: "${{ matrix.path }}" | |
resource: "${{ matrix.resource }}" | |
- if: ${{ steps.diff.outputs.diff != '' }} | |
name: Add comment | |
uses: mshick/add-pr-comment@v2.8.2 | |
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 }} | |
``` |