File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 18
18
name : Build Docker image and push to repositories
19
19
# run only when code is compiling and tests are passing
20
20
runs-on : ubuntu-latest
21
- strategy :
22
- matrix :
23
- architecture : [amd64, arm64, arm/v7]
21
+
24
22
# steps to perform in job
25
23
steps :
26
24
- name : Checkout code
@@ -68,11 +66,11 @@ jobs:
68
66
file : ./Docker/Dockerfile
69
67
build-args : " FPPBRANCH=${{ steps.extract_branch.outputs.branch }}"
70
68
# Note: tags has to be all lower-case
71
- platforms : linux/${{ matrix.architecture }}
69
+ platforms : linux/amd64,linux/arm64,linux/arm/v7
72
70
tags : ${{ env.IMAGE_REPOSITORY }}/fpp:${{ steps.extract_branch.outputs.branch }},${{ env.IMAGE_REPOSITORY }}/fpp:latest
73
71
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
76
74
77
75
- name : Image digest
78
76
run : echo ${{ steps.docker_build.outputs.digest }}
You can’t perform that action at this time.
0 commit comments