From 44e864c3f8dda246b34e6a94c0aef3c711d0e6bb Mon Sep 17 00:00:00 2001 From: wurui Date: Fri, 16 Aug 2024 23:52:17 +0800 Subject: [PATCH] chore: add more docker platform support (#886) Related to https://github.com/yomorun/yomo/pull/855 --- .github/workflows/docker-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index b65dcefe3..2cdedfc9c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -56,6 +56,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . + platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -64,4 +65,5 @@ jobs: if: ${{ github.event_name != 'pull_request' }} env: COSIGN_EXPERIMENTAL: "true" + COSIGN_YES: "true" run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }} \ No newline at end of file