mirror of
https://github.com/eliasstepanik/caddy-ingess.git
synced 2026-01-11 04:28:28 +00:00
chore(workflow): bump charts automatically when controller is released (#119)
This commit is contained in:
parent
3b5306d578
commit
7c4aff2a8e
25
.github/workflows/release-controller.yml
vendored
25
.github/workflows/release-controller.yml
vendored
@ -37,3 +37,28 @@ jobs:
|
|||||||
args: release --rm-dist
|
args: release --rm-dist
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
bump-charts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set appVersion
|
||||||
|
uses: mikefarah/yq@master
|
||||||
|
with:
|
||||||
|
cmd: yq -i '.appVersion = "${{ github.ref_name }}"' 'charts/caddy-ingress-controller/Chart.yaml'
|
||||||
|
|
||||||
|
- name: Set image tag
|
||||||
|
uses: mikefarah/yq@master
|
||||||
|
with:
|
||||||
|
cmd: yq -i '.image.tag = "${{ github.ref_name }}"' 'charts/caddy-ingress-controller/values.yaml'
|
||||||
|
|
||||||
|
- name: Create Pull Request
|
||||||
|
uses: peter-evans/create-pull-request@v4
|
||||||
|
with:
|
||||||
|
branch: update-charts
|
||||||
|
commit-message: Update caddy-ingress charts to ${{ github.ref_name }}
|
||||||
|
title: Update caddy-ingress charts to ${{ github.ref_name }}
|
||||||
|
body: |
|
||||||
|
This is an automated pull request to update charts.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user