Skip to content

feat(container): update image ghcr.io/fallenbagel/jellyseerr (2.3.0 β†’ 2.4.0) #28

feat(container): update image ghcr.io/fallenbagel/jellyseerr (2.3.0 β†’ 2.4.0)

feat(container): update image ghcr.io/fallenbagel/jellyseerr (2.3.0 β†’ 2.4.0) #28

Workflow file for this run

---
name: Helm Repo Sync
on:
pull_request:
branches: ["master"]
paths: ["kubernetes/**/helmrelease.yaml"]
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
extract:
name: Extract Helm Repos
runs-on: ubuntu-latest
outputs:
repos: ${{ steps.extract.outputs.repos }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get Changed Files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: kubernetes/**/helmrelease.yaml
- name: Extract Helm Repos
id: extract
env:
FILTER: '[.spec.chart.spec.sourceRef] | map_values("\(.namespace) \(.name)") | unique | .[]'
run: |
repos=$(yq eval-all "${FILTER}" \
${{ steps.changed-files.outputs.all_changed_and_modified_files }} \
)
echo "repos=${repos}" >> $GITHUB_OUTPUT
sync:
needs: extract
name: Sync Helm Repos
runs-on: k8s-gitops-runner
if: ${{ needs.extract.outputs.repos != '' }}
steps:
- name: Install flux
run: curl -fsSL https://fluxcd.io/install.sh | bash
- name: Sync Helm Repo
run: |
xargs -a <(echo '${{ needs.extract.outputs.repos }}') \
-l bash -c 'flux --namespace $0 reconcile source helm $1'