Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update

d-bytebasecbcaf378aadc
diff --git a/.github/workflows/docker-tag-latest.yml b/.github/workflows/docker-tag-latest.yml
index c6a42d8119..ecfc8bbc1d 100644
--- a/.github/workflows/docker-tag-latest.yml
+++ b/.github/workflows/docker-tag-latest.yml
@@ -28,8 +28,9 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Tag latest image
run: |
- echo ${{ env.RELEASE_VERSION }}
- docker pull --platform=linux/arm64 bytebase/bytebase:${{ env.RELEASE_VERSION }}
- docker pull --platform=linux/amd64 bytebase/bytebase:${{ env.RELEASE_VERSION }}
- docker tag bytebase/bytebase:${{ env.RELEASE_VERSION }} bytebase/bytebase:latest
+ RELEASE_VERSION=${GITHUB_REF_NAME#release/}
+ echo version: ${RELEASE_VERSION}
+ docker pull --platform=linux/arm64 bytebase/bytebase:${RELEASE_VERSION}
+ docker pull --platform=linux/amd64 bytebase/bytebase:${RELEASE_VERSION}
+ docker tag bytebase/bytebase:${RELEASE_VERSION} bytebase/bytebase:latest
docker push bytebase/bytebase:latest
\ No newline at end of file