Skip to content

Commit

Permalink
ci: update charts version on docker image release (#3148)
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeeeenster authored Dec 14, 2023
1 parent 8087fe2 commit 9c475e4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/platform-docker-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,25 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
context: .

- name: Set up release tag variables
run: |
TAG=${{github.ref_name}}
echo "version_trim=${TAG#v}" >> $GITHUB_ENV
- name: Update flagsmith-charts values.yaml with latest docker version
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-${{ env.version_trim }}
commitChange: true
createPR: true
message: 'Flagsmith docker image version bump'
description: 'Automated PR generated by a release event in https://github.com/Flagsmith/flagsmith'
valueFile: 'charts/flagsmith/Chart.yaml'
value: ${{ env.version_trim }}
propertyPath: 'appVersion'

3 comments on commit 9c475e4

@vercel
Copy link

@vercel vercel bot commented on 9c475e4 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9c475e4 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9c475e4 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-flagsmith.vercel.app
docs.flagsmith.com
docs-flagsmith.vercel.app
docs.bullet-train.io

Please sign in to comment.