-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (33 loc) · 1.03 KB
/
update-flux.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: update-flux
on:
workflow_dispatch:
schedule:
- cron: '00 7 * * 1-5'
permissions:
contents: read
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update manifests
id: update
uses: controlplaneio-fluxcd/distribution/actions/update@gha-update-flux
with:
path: clusters/staging/flux-system
registry: ghcr.io/fluxcd
variant: alpine
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-flux-${{ steps.update.outputs.version }}
commit-message: |
Update manifests and image digests for Flux ${{ steps.update.outputs.version }}
title: Update Flux to ${{ steps.update.outputs.version }}
body: |
Update manifests and image digests for Flux ${{ steps.update.outputs.version }}