Skip to content

Commit

Permalink
Merge pull request #11 from GreptimeTeam/fix/docker-tag
Browse files Browse the repository at this point in the history
fix: update metabase distribution docker image naming
  • Loading branch information
sunng87 authored Dec 18, 2024
2 parents 11c38bb + ea7e4e5 commit d28153e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ jobs:
push: true
platforms: linux/amd64
tags: |
greptime/metabase-greptimedb:${{ github.ref_name }}-mb050
greptime/metabase-greptimedb:v0.52.2-greptime-${{ github.ref_name }}
greptime/metabase-greptimedb:latest
5 changes: 5 additions & 0 deletions update-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ def update_yaml_file(yaml_file, version):
f'ref: release-x.{minor_version}.x',
content
)
updated_content = re.sub(
r'metabase-greptimedb:v\d+\.\d+\.\d+(\.\d+)?',
f'metabase-greptimedb:v{version}',
content
)

# Write the updated content back to the YAML file
with open(yaml_file, 'w') as file:
Expand Down

0 comments on commit d28153e

Please sign in to comment.