Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/platform-docker-build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,28 +237,28 @@ jobs:
- name: Set up release tag variables
id: version-trim
run: |
TAG=${{github.ref_name}}
TAG=${{ github.event.release.tag_name }}
echo "version=${TAG#v}" >> $GITHUB_OUTPUT

- name: Run YAML to Github Output Action
id: yaml-output
uses: christian-ci/action-yaml-github-output@v2
- uses: actions-tools/yaml-outputs@v2
id: chart-yaml
with:
file_path: './chart/charts/flagsmith/Chart.yaml'
file-path: ./chart/charts/flagsmith/Chart.yaml

- name: Update flagsmith-charts values.yaml with latest docker version
- name: Open a PR bumping Flagsmith to ${{ github.event.release.tag_name }}
uses: fjogeleit/yaml-update-action@main
with:
token: ${{ secrets.FLAGSMITH_CHARTS_GITHUB_TOKEN }}
repository: flagsmith/flagsmith-charts
workDir: chart
masterBranchName: 'main'
targetBranch: 'main'
branch: docker-image-version-bump-${{ steps.version-trim.outputs.version }}
branch: deps/bump-flagsmith-${{ steps.version-trim.outputs.version }}
commitChange: true
createPR: true
message: 'Flagsmith docker image version bump'
description: 'Automated PR generated by a release event in https://github.com/Flagsmith/flagsmith'
message: 'deps: bump Flagsmith from ${{ steps.chart-yaml.outputs.appVersion }} to ${{ steps.version-trim.outputs.version }}'
title: '{{message}}'
description: 'Automated PR generated by Flagsmith release [${{ github.event.release.tag_name }}](${{ github.event.release.url }}).'
valueFile: 'charts/flagsmith/Chart.yaml'
changes: |
{
Expand Down
Loading