File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464
6565 - run : docker buildx prune -af
6666
67- - uses : docker/build-push-action@v6
67+ - if : ${{ matrix.mono != 'latest' }}
68+ uses : docker/build-push-action@v6
6869 with :
6970 context : .
7071 file : ./mono/${{ matrix.mono }}/Dockerfile
7778 provenance : mode=max
7879 sbom : true
7980
81+ - if : ${{ matrix.mono == 'latest' }}
82+ uses : docker/build-push-action@v6
83+ with :
84+ context : .
85+ file : ./mono/${{ matrix.mono }}/Dockerfile
86+ platforms : linux/amd64,linux/arm64/v8
87+ push : true
88+ pull : true
89+ tags : |
90+ cubecoders/ampbase:mono-${{ matrix.mono }}
91+ cubecoders/ampbase:mono
92+ cache-from : type=gha,scope=${{ github.workflow }}-${{ matrix.mono }}
93+ cache-to : type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.mono }}
94+ provenance : mode=max
95+ sbom : true
96+
8097concurrency :
8198 group : ${{ github.workflow }}-${{ github.ref }}
8299 cancel-in-progress : false
Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ jobs:
102102
103103 - run : docker buildx prune -af
104104
105- - uses : docker/build-push-action@v6
105+ - if : ${{ matrix.version != 'stable' }}
106+ uses : docker/build-push-action@v6
106107 with :
107108 context : .
108109 file : ./wine/${{ matrix.version }}/Dockerfile
@@ -117,6 +118,24 @@ jobs:
117118 provenance : mode=max
118119 sbom : true
119120
121+ - if : ${{ matrix.version == 'stable' }}
122+ uses : docker/build-push-action@v6
123+ with :
124+ context : .
125+ file : ./wine/${{ matrix.version }}/Dockerfile
126+ platforms : linux/amd64,linux/arm64/v8
127+ push : true
128+ pull : true
129+ tags : |
130+ cubecoders/ampbase:wine-${{ matrix.version }}
131+ cubecoders/ampbase:wine
132+ cache-from : |
133+ type=gha,scope=${{ github.workflow }}-common
134+ type=gha,scope=${{ github.workflow }}-${{ matrix.version }}
135+ cache-to : type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.version }}
136+ provenance : mode=max
137+ sbom : true
138+
120139concurrency :
121140 group : ${{ github.workflow }}-${{ github.ref }}
122141 cancel-in-progress : false
You can’t perform that action at this time.
0 commit comments