diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.yml index 8b321bc..161646f 100644 --- a/.github/workflows/publish_image.yml +++ b/.github/workflows/publish_image.yml @@ -20,7 +20,7 @@ jobs: uses: docker/metadata-action@v4 with: images: | - registry.cn-hongkong.aliyuncs.com/oss-compass/compass-echarts-server + osscompassorg/compass-web tags: | type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'release') }} type=raw,value=nightly,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} @@ -32,12 +32,11 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Login to ACR - uses: aliyun/acr-login@v1 + - name: Login to Docker Hub + uses: docker/login-action@v2 with: - login-server: https://registry.cn-hongkong.aliyuncs.com - username: '${{ secrets.REGISTRY_USERNAME }}' - password: '${{ secrets.REGISTRY_PASSWORD }}' + username: '${{ secrets.DOCKER_REGISTRY_USERNAME }}' + password: '${{ secrets.DOCKER_REGISTRY_PASSWORD }}' - name: Build and push uses: docker/build-push-action@v3