From 06e876651a592d561a061f5ae943af48d292f458 Mon Sep 17 00:00:00 2001 From: Arthur Ming Date: Tue, 23 Jul 2024 10:03:42 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=94=AF=E6=8C=81linux/amd64,linux/arm64?= =?UTF-8?q?=E5=92=8C=E8=BF=99=E4=B8=A4=E4=B8=AA=E6=9E=B6=E6=9E=84=E7=9A=84?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 68f5eec0..cb567c19 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -17,6 +17,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 @@ -36,6 +38,8 @@ jobs: tags: | ghcr.io/damingerdai/hoteler:${{ github.sha }} push: ${{ github.ref == 'refs/heads/master' }} + platforms: linux/amd64,linux/arm64 + provenance: true - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}