From 23c2c717b42007e1ff0d9afc8dfccea2d01dbf02 Mon Sep 17 00:00:00 2001 From: laixingyou Date: Wed, 18 Sep 2024 17:27:38 +0800 Subject: [PATCH] feat: change docker hub Signed-off-by: laixingyou --- .github/workflows/publish_image.yml | 11 +++++------ modules/community | 2 +- modules_i18n/community-zh | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.yml index 138dce2..dcaf30e 100644 --- a/.github/workflows/publish_image.yml +++ b/.github/workflows/publish_image.yml @@ -36,7 +36,7 @@ jobs: uses: docker/metadata-action@v4 with: images: | - registry.cn-hongkong.aliyuncs.com/oss-compass/compass-docs + 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') }} @@ -48,12 +48,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: docker build and push uses: docker/build-push-action@v3 diff --git a/modules/community b/modules/community index bd03149..5f3dfe3 160000 --- a/modules/community +++ b/modules/community @@ -1 +1 @@ -Subproject commit bd0314966c80d345d332e9fd91fcb9f62259f6ca +Subproject commit 5f3dfe310b36f20c7198d4163573406dcb83b4a9 diff --git a/modules_i18n/community-zh b/modules_i18n/community-zh index 3ea6526..a69ff75 160000 --- a/modules_i18n/community-zh +++ b/modules_i18n/community-zh @@ -1 +1 @@ -Subproject commit 3ea6526b44a11ac9878fafb0d9cf4f8456a3df0a +Subproject commit a69ff75b85edf7e6a511646c624b6fff8710847c