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 Dockerfile
aichy1267e1ca07065d1
diff --git a/.github/workflows/build_dev_img.yml b/.github/workflows/build_dev_img.ymlindex e57d3cb7..e03df096 100644--- a/.github/workflows/build_dev_img.yml+++ b/.github/workflows/build_dev_img.yml@@ -40,7 +40,7 @@ jobs:uses: docker/build-push-action@v4with:context: .- file: ./.github/Dockerfile+ file: ./Dockerfileplatforms: linux/amd64push: truetags: ${{ steps.meta.outputs.tags }}diff --git a/.github/workflows/build_dockerhub_img.yml b/.github/workflows/build_dockerhub_img.ymlindex 52f96621..9d5e5c44 100644--- a/.github/workflows/build_dockerhub_img.yml+++ b/.github/workflows/build_dockerhub_img.yml@@ -39,20 +39,13 @@ jobs:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- # - name: Login to GitHub Container Registry- # uses: docker/login-action@v2- # with:- # registry: ghcr.io- # username: ${{ github.actor }}- # password: ${{ secrets.GITHUB_TOKEN }}-- name: Build and pushuses: docker/build-push-action@v4with:context: .platforms: linux/amd64,linux/arm64push: true- file: ./.github/Dockerfile+ file: ./Dockerfiletags: ${{ steps.meta.outputs.tags }}labels: ${{ steps.meta.outputs.labels }}diff --git a/.github/workflows/manual_build.yml b/.github/workflows/manual_build.ymlindex 9bcda245..daacb0cf 100644--- a/.github/workflows/manual_build.yml+++ b/.github/workflows/manual_build.yml@@ -51,20 +51,13 @@ jobs:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- # - name: Login to GitHub Container Registry- # uses: docker/login-action@v2- # with:- # registry: ghcr.io- # username: ${{ github.actor }}- # password: ${{ secrets.GITHUB_TOKEN }}-- name: Build and pushuses: docker/build-push-action@v4with:context: .platforms: linux/amd64,linux/arm64push: true- file: ./.github/Dockerfile+ file: ./Dockerfiletags: answerdev/answer:${{ inputs.tag_name }}labels: ${{ steps.meta.outputs.labels }}