Skip to content

Commit e2d0466

Browse files
committed
Temp rm attest and provenance
I think these are RedHat specific only?
1 parent 774b908 commit e2d0466

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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

@@ -80,7 +81,8 @@ jobs:
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:
@@ -91,7 +93,7 @@ jobs:
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

0 commit comments

Comments
 (0)