diff --git a/.github/workflows/build-on-release.yml b/.github/workflows/build-on-release.yml index da6afeb..f66dfcd 100644 --- a/.github/workflows/build-on-release.yml +++ b/.github/workflows/build-on-release.yml @@ -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 diff --git a/update-version.py b/update-version.py index 2974c98..8ae201b 100644 --- a/update-version.py +++ b/update-version.py @@ -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: