feat(container): update image ghcr.io/fallenbagel/jellyseerr (2.4.0 β 2.5.0) #30
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: 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' |