From 27e7afecd81b8695058aeba4aaa52082cb6eeeec Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Wed, 13 Jul 2022 00:13:24 +0300 Subject: [PATCH] attempt at fixing GitHub builds. --- .github/workflows/build.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51ad6e0f..c8abc675 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -105,13 +105,25 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and Push + - name: Build and push amd64 uses: docker/build-push-action@v3 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 context: . push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha, scope=${{ github.workflow }} cache-to: type=gha, scope=${{ github.workflow }} + + - name: Build and push arm64 + uses: docker/build-push-action@v3 + with: + platforms: linux/arm64 + context: . + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha, scope=${{ github.workflow }} + cache-to: type=gha, scope=${{ github.workflow }} +