File tree Expand file tree Collapse file tree 2 files changed +36
-2
lines changed
Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 4242
4343 - run : docker buildx prune -af
4444
45- - uses : docker/build-push-action@v6
45+ - if : ${{ matrix.base != 'debian' }}
46+ uses : docker/build-push-action@v6
4647 with :
4748 context : .
4849 file : ./base/${{ matrix.base }}/Dockerfile
5556 provenance : mode=max
5657 sbom : true
5758
59+ - if : ${{ matrix.base == 'debian' }}
60+ uses : docker/build-push-action@v6
61+ with :
62+ context : .
63+ file : ./base/${{ matrix.base }}/Dockerfile
64+ platforms : linux/amd64,linux/arm64/v8
65+ push : true
66+ pull : true
67+ tags : |
68+ cubecoders/ampbase:${{ matrix.base }}
69+ cubecoders/ampbase:latest
70+ cache-from : type=gha,scope=${{ github.workflow }}-${{ matrix.base }}
71+ cache-to : type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.base }}
72+ provenance : mode=max
73+ sbom : true
74+
5875concurrency :
5976 group : ${{ github.workflow }}-${{ github.ref }}
6077 cancel-in-progress : false
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.java != 'lts' }}
68+ uses : docker/build-push-action@v6
6869 with :
6970 context : .
7071 file : ./java/${{ matrix.java }}/Dockerfile
7778 provenance : mode=max
7879 sbom : true
7980
81+ - if : ${{ matrix.java == 'lts' }}
82+ uses : docker/build-push-action@v6
83+ with :
84+ context : .
85+ file : ./java/${{ matrix.java }}/Dockerfile
86+ platforms : linux/amd64,linux/arm64/v8
87+ push : true
88+ pull : true
89+ tags : |
90+ cubecoders/ampbase:java-${{ matrix.java }}
91+ cubecoders/ampbase:java
92+ cache-from : type=gha,scope=${{ github.workflow }}-${{ matrix.java }}
93+ cache-to : type=gha,mode=max,scope=${{ github.workflow }}-${{ matrix.java }}
94+ provenance : mode=max
95+ sbom : true
96+
8097concurrency :
8198 group : ${{ github.workflow }}-${{ github.ref }}
8299 cancel-in-progress : false
You can’t perform that action at this time.
0 commit comments