From 2d958dce33cc652d2350628ab749b5fc07622187 Mon Sep 17 00:00:00 2001 From: Jason Greathouse Date: Wed, 9 Oct 2024 15:26:31 -0500 Subject: [PATCH 1/2] add linux/arm64 builds --- .github/workflows/build-and-publish.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 5fc729b..d012a37 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -18,11 +18,13 @@ jobs: uses: mobilecoinofficial/gh-actions/checkout@v0 - name: Build/Publish Image - uses: mobilecoinofficial/gh-actions/docker@v0 + uses: mobilecoinofficial/gh-actions/docker@90b484a85e921fd78c596dbafa3225d9ba77b7d4 with: dockerfile: ./Dockerfile + emulation: 'true' flavor: latest=true images: mobilecoin/gha-runner + platforms: linux/amd64,linux/arm64 password: ${{ secrets.DOCKERHUB_TOKEN }} push: ${{ github.event_name == 'pull_request' && 'false' || 'true' }} tags: | From e288ac381dee2e280ff6628b00a4cc0c3421c9c8 Mon Sep 17 00:00:00 2001 From: Jason Greathouse Date: Wed, 9 Oct 2024 16:15:06 -0500 Subject: [PATCH 2/2] add linux/arm64 builds --- .github/workflows/build-and-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index d012a37..5a36940 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -18,7 +18,7 @@ jobs: uses: mobilecoinofficial/gh-actions/checkout@v0 - name: Build/Publish Image - uses: mobilecoinofficial/gh-actions/docker@90b484a85e921fd78c596dbafa3225d9ba77b7d4 + uses: mobilecoinofficial/gh-actions/docker@v0 with: dockerfile: ./Dockerfile emulation: 'true'