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.
update github action
aichy1269cc7b05b082b
diff --git a/.github/workflows/build_dockerhub_img.yml b/.github/workflows/build_dockerhub_img.ymlindex dcd0e78f..5f4d6849 100644--- a/.github/workflows/build_dockerhub_img.yml+++ b/.github/workflows/build_dockerhub_img.yml@@ -2,7 +2,7 @@ name: Build DockerHub Imageon:push:- branches: [ "main","githubaction" ]+ branches: [ "main","githubaction","test" ]tags:- v2.*- v1.*@@ -33,14 +33,6 @@ jobs:- name: Set up Docker Buildxuses: docker/setup-buildx-action@v2- - name: Cache Docker layers- uses: actions/cache@v3- with:- path: /tmp/.buildx-cache- key: ${{ runner.os }}-buildx-${{ github.sha }}- restore-keys: |- ${{ runner.os }}-buildx--- name: Login to DockerHubuses: docker/login-action@v2with:@@ -62,13 +54,8 @@ jobs:push: truetags: ${{ steps.meta.outputs.tags }}labels: ${{ steps.meta.outputs.labels }}- cache-from: type=local,src=/tmp/.buildx-cache- cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max-- - name: Move cache- run: |- rm -rf /tmp/.buildx-cache- mv /tmp/.buildx-cache-new /tmp/.buildx-cache+ cache-from: type=gha+ cache-to: type=gha,mode=max