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): update docker user and token secrets
LinkinStars274eaf29cf1f
diff --git a/.github/workflows/build-image-for-release.yml b/.github/workflows/build-image-for-release.ymlindex 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 DockerHubuses: docker/login-action@v2with:- username: ${{ secrets.DOCKER_USERNAME }}- password: ${{ secrets.DOCKER_PASSWORD }}+ username: ${{ secrets.DOCKERHUB_USER }}+ password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Build and pushuses: docker/build-push-action@v4diff --git a/.github/workflows/build-image-for-test.yml b/.github/workflows/build-image-for-test.ymlindex 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 DockerHubuses: docker/login-action@v2with:- username: ${{ secrets.DOCKER_USERNAME }}- password: ${{ secrets.DOCKER_PASSWORD }}+ username: ${{ secrets.DOCKERHUB_USER }}+ password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Build and pushuses: docker/build-push-action@v4