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 login action version and config username
LinkinStars58dadefc99d1
diff --git a/.github/workflows/build-image-for-release.yml b/.github/workflows/build-image-for-release.ymlindex a4ad5ff1..d6db2279 100644--- a/.github/workflows/build-image-for-release.yml+++ b/.github/workflows/build-image-for-release.yml@@ -51,9 +51,9 @@ jobs:uses: docker/setup-buildx-action@v2- name: Login to DockerHub- uses: docker/login-action@v2+ uses: docker/login-action@v3with:- username: ${{ secrets.DOCKERHUB_USER }}+ username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Build and pushdiff --git a/.github/workflows/build-image-for-test.yml b/.github/workflows/build-image-for-test.ymlindex 6a099d02..46989815 100644--- a/.github/workflows/build-image-for-test.yml+++ b/.github/workflows/build-image-for-test.yml@@ -44,9 +44,9 @@ jobs:uses: docker/setup-buildx-action@v2- name: Login to DockerHub- uses: docker/login-action@v2+ uses: docker/login-action@v3with:- username: ${{ secrets.DOCKERHUB_USER }}+ username: ${{ secrets.DOCKERHUB_USERNAME }}password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Build and push