diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67939411..97967a74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,9 +37,9 @@ jobs: - name: Login to Tencent uses: docker/login-action@v3 with: - registry: "ccr.ccs.tencentyun.com" - username: ${{ secrets.TENCENT_USERNAME }} - password: ${{ secrets.TENCENT_TOKEN }} + registry: registry.cn-hangzhou.aliyuncs.com + username: ${{ secrets.ALIYUN_USERNAME }} + password: ${{ secrets.ALIYUN_TOKEN }} - name: Build run: | make clean-source @@ -62,8 +62,8 @@ jobs: docker buildx build \ -t dpanel/test:lite \ -t dpanel/test:${GITHUB_REF_NAME#v}-lite \ - -t ccr.ccs.tencentyun.com/dpanel/dpanel:lite-test \ - -t ccr.ccs.tencentyun.com/dpanel/dpanel:${GITHUB_REF_NAME#v}-lite-test \ + -t registry.cn-hangzhou.aliyuncs.com/dpanel/dpanel:lite-test \ + -t registry.cn-hangzhou.aliyuncs.com/dpanel/dpanel:${GITHUB_REF_NAME#v}-lite-test \ --platform linux/arm64,linux/amd64,linux/arm/v7 \ --build-arg APP_VERSION=${GITHUB_REF_NAME#v} \ -f Dockerfile-lite \ @@ -71,8 +71,8 @@ jobs: docker buildx build \ -t dpanel/test:latest \ -t dpanel/test:${GITHUB_REF_NAME#v} \ - -t ccr.ccs.tencentyun.com/dpanel/dpanel:latest-test \ - -t ccr.ccs.tencentyun.com/dpanel/dpanel:${GITHUB_REF_NAME#v}-latest-test \ + -t registry.cn-hangzhou.aliyuncs.com/dpanel/dpanel:latest-test \ + -t registry.cn-hangzhou.aliyuncs.com/dpanel/dpanel:${GITHUB_REF_NAME#v}-latest-test \ --platform linux/arm64,linux/amd64,linux/arm/v7 \ --build-arg APP_VERSION=${GITHUB_REF_NAME#v} \ . --push