File tree 1 file changed +24
-2
lines changed
1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 18
18
- name : Cloning repo
19
19
uses : actions/checkout@v3
20
20
21
+ - name : Checkout Target Charts Repository to update yaml
22
+ uses : actions/checkout@v3
23
+ with :
24
+ repository : flagsmith/flagsmith-charts
25
+ path : chart
26
+ token : ${{ secrets.GITHUB_TOKEN }}
27
+
21
28
- name : Docker metadata
22
29
id : meta
23
30
uses : docker/metadata-action@v4
57
64
TAG=${{github.ref_name}}
58
65
echo "version_trim=${TAG#v}" >> $GITHUB_ENV
59
66
67
+ - name : Run YAML to Github Output Action
68
+ id : yaml-output
69
+ uses : christian-ci/action-yaml-github-output@v2
70
+ with :
71
+ file_path : ' ./chart/charts/flagsmith/Chart.yaml'
72
+
73
+ - uses : us-ignite/action-bump-semver@main
74
+ id : bump-semver
75
+ with :
76
+ current_version : ${{ steps.yaml-output.outputs.version }}
77
+ level : minor
78
+
60
79
- name : Update flagsmith-charts values.yaml with latest docker version
61
80
uses : fjogeleit/yaml-update-action@main
62
81
with :
71
90
message : ' Flagsmith docker image version bump'
72
91
description : ' Automated PR generated by a release event in https://github.com/Flagsmith/flagsmith'
73
92
valueFile : ' charts/flagsmith/Chart.yaml'
74
- value : ${{ env.version_trim }}
75
- propertyPath : ' appVersion'
93
+ changes : |
94
+ {
95
+ "appVersion": "${{ env.version_trim }}",
96
+ "version": "${{ steps.bump-semver.outputs.new_version }}"
97
+ }
You can’t perform that action at this time.
0 commit comments