This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 274eaf29cf1f1ccc959b5843dfd8449d670a131b
Author: LinkinStars <[email protected]>
AuthorDate: Fri Nov 17 15:20:43 2023 +0800

    ci(github): update docker user and token secrets
---
 .github/workflows/build-image-for-release.yml | 4 ++--
 .github/workflows/build-image-for-test.yml    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-image-for-release.yml 
b/.github/workflows/build-image-for-release.yml
index 6495f2d6..a4ad5ff1 100644
--- a/.github/workflows/build-image-for-release.yml
+++ b/.github/workflows/build-image-for-release.yml
@@ -53,8 +53,8 @@ jobs:
     - name: Login to DockerHub
       uses: docker/login-action@v2
       with:
-        username: ${{ secrets.DOCKER_USERNAME }}
-        password: ${{ secrets.DOCKER_PASSWORD }}
+        username: ${{ secrets.DOCKERHUB_USER }}
+        password: ${{ secrets.DOCKERHUB_TOKEN }}
 
     - name: Build and push
       uses: docker/build-push-action@v4
diff --git a/.github/workflows/build-image-for-test.yml 
b/.github/workflows/build-image-for-test.yml
index d300b284..6a099d02 100644
--- a/.github/workflows/build-image-for-test.yml
+++ b/.github/workflows/build-image-for-test.yml
@@ -46,8 +46,8 @@ jobs:
     - name: Login to DockerHub
       uses: docker/login-action@v2
       with:
-        username: ${{ secrets.DOCKER_USERNAME }}
-        password: ${{ secrets.DOCKER_PASSWORD }}
+        username: ${{ secrets.DOCKERHUB_USER }}
+        password: ${{ secrets.DOCKERHUB_TOKEN }}
 
     - name: Build and push
       uses: docker/build-push-action@v4

Reply via email to