Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

ci(github): rename the secret name

LinkinStarse11aa93c14c5
diff --git a/.github/workflows/build-image-for-release.yml b/.github/workflows/build-image-for-release.yml
index d6db2279..2f2ea679 100644
--- a/.github/workflows/build-image-for-release.yml
+++ b/.github/workflows/build-image-for-release.yml
@@ -53,7 +53,7 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
+ username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
diff --git a/.github/workflows/build-image-for-test.yml b/.github/workflows/build-image-for-test.yml
index 46989815..e2ffa80f 100644
--- a/.github/workflows/build-image-for-test.yml
+++ b/.github/workflows/build-image-for-test.yml
@@ -46,7 +46,7 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
+ username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push