Skip to content

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

chore: update (#15962)

Danny Xuf0b2fbd36575
diff --git a/.github/workflows/docker-tag-latest.yml b/.github/workflows/docker-tag-latest.yml
index bfc3c944d2..58b8038c52 100644
--- a/.github/workflows/docker-tag-latest.yml
+++ b/.github/workflows/docker-tag-latest.yml
@@ -37,6 +37,13 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
+ - name: Extract build args
+ # Extract version from branch name
+ # Example: branch name `release/1.0.0` sets up env.IMAGE_VERSION=1.0.0
+ run: |
+ echo "IMAGE_VERSION=${GITHUB_REF_NAME#release/}" >> $GITHUB_ENV
+ echo "VERSION=$(cat ./scripts/VERSION)" >> $GITHUB_ENV
+ echo "GIT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v3
with: