File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,18 @@ jobs:
5454 push : ${{ github.event_name != 'pull_request' }}
5555 tags : ${{ env.CN_IMAGE_ID }}:release-${{ matrix.os }}-${{ matrix.runner }}
5656 file : Dockerfile.${{ matrix.os }}
57- attests : type=sbom
58- provenance : mode=max
5957 github-token : ${{ secrets.GITHUB_TOKEN }}
6058
6159 combine-multiplatform :
60+
61+ if : ${{ github.event_name != 'pull_request' }}
62+
6263 strategy :
6364 matrix :
6465 os : [ubuntu, redhat]
65-
6666 runs-on : ubuntu-latest
6767 needs : [build-and-release]
68+
6869 steps :
6970 - uses : actions/checkout@v4
7071
8081 docker manifest create \
8182 ${{ env.CN_IMAGE_ID }}:release-${{ matrix.os }} \
8283 --amend ${{ env.CN_IMAGE_ID }}:release-${{ matrix.os }}-latest \
83- --amend ${{ env.CN_IMAGE_ID }}:release-${{ matrix.os }}-24.04-arm \
84+ --amend ${{ env.CN_IMAGE_ID }}:release-${{ matrix.os }}-24.04-arm
85+ docker manifest push ${{ env.CN_IMAGE_ID }}:release-${{ matrix.os }}
8486
8587# Other CI is testing anyway - if need be, can run tests in Dockerfile itself
8688 test-docker-images :
9193 matrix :
9294 os : [ubuntu, redhat]
9395 runs-on : ubuntu-latest
94- needs : [build-and-release ]
96+ needs : [combine-multiplatform ]
9597
9698 steps :
9799 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments