Skip to content

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

feat: add a step to push release image to aliyun container registry (#12496)

Tianzhou (天舟)3d29b468914e
diff --git a/.github/workflows/docker-tag-latest.yml b/.github/workflows/docker-tag-latest.yml
index 1ee2004564..b60eebfb66 100644
--- a/.github/workflows/docker-tag-latest.yml
+++ b/.github/workflows/docker-tag-latest.yml
@@ -20,8 +20,19 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Tag latest image
+ - name: Tag latest image in DockerHub
run: |
RELEASE_VERSION=${GITHUB_REF_NAME#release/}
echo version: ${RELEASE_VERSION}
docker buildx imagetools create -t bytebase/bytebase:latest bytebase/bytebase:${RELEASE_VERSION}
+ - name: Login to Aliyun Container Registry
+ uses: docker/login-action@v3
+ with:
+ registry: registry.cn-shanghai.aliyuncs.com
+ username: ${{ secrets.ALIYUN_USERNAME }}
+ password: ${{ secrets.ALIYUN_PASSWORD }}
+ - name: Tag latest image in Aliyun Container Registry
+ run: |
+ RELEASE_VERSION=${GITHUB_REF_NAME#release/}
+ echo version: ${RELEASE_VERSION}
+ docker buildx imagetools create -t registry.cn-shanghai.aliyuncs.com/bytebase/bytebase:latest bytebase/bytebase:${RELEASE_VERSION}