diff --git a/.github/workflows/docker_release.yml b/.github/workflows/docker_release.yml index ce3656b..a67d8e9 100644 --- a/.github/workflows/docker_release.yml +++ b/.github/workflows/docker_release.yml @@ -35,7 +35,7 @@ jobs: - name: Login to Aliyun Container Registry uses: docker/login-action@v1 with: - registry: registry.cn-shanghai.aliyuncs.com + registry: ${{ secrets.ALIYUN_REGISTRY }} username: ${{ secrets.ALIYUN_USERNAME }} password: ${{ secrets.ALIYUN_PASSWORD }} @@ -57,7 +57,7 @@ jobs: images: | cscs181/qq-github-bot ghcr.io/cscs181/qq-github-bot - registry.cn-shanghai.aliyuncs.com/cscs181/qq-github-bot + ${{ secrets.ALIYUN_REGISTRY }}/cscs181/qq-github-bot tags: | type=semver,pattern={{version}} type=sha