fix(container): update ghcr.io/onedr0p/sabnzbd ( 4.4.0 → 4.4.1 ) (#7857) #1625
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
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: "Flux Kustomization Sync" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/flux-ks-sync.yaml | |
- kubernetes/main/** | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
sync: | |
name: Flux Kustomization Sync | |
runs-on: ["arc-runner-set-home-ops"] | |
strategy: | |
matrix: | |
cluster: ["main"] | |
steps: | |
- name: Generate Token | |
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1 | |
id: app-token | |
with: | |
app-id: "${{ secrets.BOT_APP_ID }}" | |
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
token: "${{ steps.app-token.outputs.token }}" | |
- name: Setup Homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install Flux | |
uses: fluxcd/flux2/action@main | |
with: | |
version: "latest" | |
- name: Write kubeconfig | |
id: kubeconfig | |
uses: timheuer/base64-to-file@adaa40c0c581f276132199d4cf60afa07ce60eac # v1 | |
with: | |
encodedString: "${{ secrets.KUBECONFIG }}" | |
fileName: kubeconfig | |
- name: Sync Kustomization | |
env: | |
KUBECONFIG: "${{ steps.kubeconfig.outputs.filePath }}" | |
shell: bash | |
run: | | |
flux \ | |
--namespace flux-system \ | |
reconcile ks cluster \ | |
--with-source |