Skip to content

Commit 3b7ab03

Browse files
committed
See if combining back into single build will work
1 parent c127abf commit 3b7ab03

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/docker-build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ jobs:
1818
name: Build Docker image and push to repositories
1919
# run only when code is compiling and tests are passing
2020
runs-on: ubuntu-latest
21-
strategy:
22-
matrix:
23-
architecture: [amd64, arm64, arm/v7]
21+
2422
# steps to perform in job
2523
steps:
2624
- name: Checkout code
@@ -68,11 +66,11 @@ jobs:
6866
file: ./Docker/Dockerfile
6967
build-args: "FPPBRANCH=${{ steps.extract_branch.outputs.branch }}"
7068
# Note: tags has to be all lower-case
71-
platforms: linux/${{ matrix.architecture }}
69+
platforms: linux/amd64,linux/arm64,linux/arm/v7
7270
tags: ${{ env.IMAGE_REPOSITORY }}/fpp:${{ steps.extract_branch.outputs.branch }},${{ env.IMAGE_REPOSITORY }}/fpp:latest
7371
push: true
74-
cache-from: type=gha,scope=fpp-build-${{ matrix.architecture }}
75-
cache-to: type=gha,scope=fpp-build-${{ matrix.architecture }},mode=max
72+
cache-from: type=gha,scope=fpp-build-docker
73+
cache-to: type=gha,scope=fpp-build-docker,mode=max
7674

7775
- name: Image digest
7876
run: echo ${{ steps.docker_build.outputs.digest }}

0 commit comments

Comments
 (0)