From d4c2771f4a1327c5898661f04268f7d1d44fd747 Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Thu, 29 Apr 2021 14:30:59 +0200 Subject: [PATCH] Fix: Fix actions for Umbrel --- .github/workflows/push.yml | 9 ++------- .github/workflows/tag.yml | 11 +++-------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c8781830..8fada785 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,12 +12,7 @@ jobs: build: name: Build image runs-on: ubuntu-20.04 - strategy: - fail-fast: false - matrix: - platform: - - linux/amd64 - - linux/arm64 + steps: - name: Checkout project uses: actions/checkout@v2 @@ -49,6 +44,6 @@ jobs: docker buildx build \ --cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \ - --platform ${{matrix.platform}} \ + --platform linux/arm64,linux/amd64 \ --tag ${{ secrets.DOCKER_CONTAINER_USERNAME }}/lndhub:$BRANCH \ --output "type=registry" ./ \ No newline at end of file diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 11a55416..fe2ab6d8 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -13,12 +13,7 @@ jobs: build: name: Build image runs-on: ubuntu-20.04 - strategy: - fail-fast: false - matrix: - platform: - - linux/amd64 - - linux/arm64 + steps: - name: Checkout project uses: actions/checkout@v2 @@ -49,7 +44,7 @@ jobs: docker buildx build \ --cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \ - --platform ${{matrix.platform}} \ + --platform linux/arm64,linux/amd64 \ --tag ${{ secrets.DOCKER_CONTAINER_USERNAME }}/lndhub:$TAG \ --output "type=registry" ./ - name: Run Docker buildx @@ -57,6 +52,6 @@ jobs: docker buildx build \ --cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \ - --platform ${{matrix.platform}} \ + --platform linux/arm64,linux/amd64 \ --tag ${{ secrets.DOCKER_CONTAINER_USERNAME }}/lndhub:latest \ --output "type=registry" ./