From c94b544e4a1352053bc190e8373930cce97be298 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Sat, 19 Nov 2022 09:19:54 +0800 Subject: [PATCH] ci: modify image registry in `release.yml` (#582) Signed-off-by: zyy17 --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad6034972a..13e520f393 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -169,12 +169,12 @@ jobs: tar xvf greptime-linux-arm64.tgz rm greptime-linux-arm64.tgz - - name: Login to GitHub Container Registry + - name: Login to UCloud Container Registry uses: docker/login-action@v2 with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: uhub.service.ucloud.cn + username: ${{ secrets.UCLOUD_USERNAME }} + password: ${{ secrets.UCLOUD_PASSWORD }} - name: Login to Dockerhub uses: docker/login-action@v2 @@ -213,4 +213,5 @@ jobs: tags: | greptime/greptimedb:latest greptime/greptimedb:${{ env.VERSION }} - ghcr.io/greptimeteam/greptimedb:${{ env.VERSION }} + uhub.service.ucloud.cn/greptime/greptimedb:latest + uhub.service.ucloud.cn/greptime/greptimedb:${{ env.VERSION }}