4848
4949 - name: Check for changed files
5050 id: check
51- uses: stackabletech/actions/detect-changes@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
51+ uses: stackabletech/actions/detect-changes@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
5252 with:
5353 patterns: |
5454 - '.github/workflows/build.yaml'
@@ -164,7 +164,7 @@ jobs:
164164
165165 - name: Build Container Image
166166 id: build
167- uses: stackabletech/actions/build-container-image@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
167+ uses: stackabletech/actions/build-container-image@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
168168 with:
169169 image-name: ${{ env.OPERATOR_NAME }}
170170 image-index-manifest-tag: ${{ steps.version.outputs.OPERATOR_VERSION }}
@@ -173,7 +173,7 @@ jobs:
173173
174174 - name: Publish Container Image to oci.stackable.tech
175175 if: ${{ !github.event.pull_request.head.repo.fork }}
176- uses: stackabletech/actions/publish-image@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
176+ uses: stackabletech/actions/publish-image@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
177177 with:
178178 image-registry-uri: oci.stackable.tech
179179 image-registry-username: robot$sdp+github-action-build
@@ -184,7 +184,7 @@ jobs:
184184
185185 - name: Publish Container Image to quay.io
186186 if: ${{ !github.event.pull_request.head.repo.fork }}
187- uses: stackabletech/actions/publish-image@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
187+ uses: stackabletech/actions/publish-image@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
188188 with:
189189 image-registry-uri: quay.io
190190 image-registry-username: stackable+robot_sdp_github_action_build
@@ -216,7 +216,7 @@ jobs:
216216
217217 - name: Publish and Sign Image Index to oci.stackable.tech
218218 id: publish-oci
219- uses: stackabletech/actions/publish-image-index-manifest@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
219+ uses: stackabletech/actions/publish-image-index-manifest@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
220220 with:
221221 image-registry-uri: oci.stackable.tech
222222 image-registry-username: robot$sdp+github-action-build
@@ -226,7 +226,7 @@ jobs:
226226
227227 - name: Publish and Sign Image Index to quay.io
228228 id: publish-quay
229- uses: stackabletech/actions/publish-image-index-manifest@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
229+ uses: stackabletech/actions/publish-image-index-manifest@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
230230 with:
231231 image-registry-uri: quay.io
232232 image-registry-username: stackable+robot_sdp_github_action_build
@@ -311,7 +311,7 @@ jobs:
311311 submodules: recursive
312312
313313 - name: Package, Publish, and Sign Helm Chart to oci.stackable.tech
314- uses: stackabletech/actions/publish-helm-chart@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
314+ uses: stackabletech/actions/publish-helm-chart@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
315315 with:
316316 chart-registry-uri: oci.stackable.tech
317317 chart-registry-username: robot$sdp-charts+github-action-build
@@ -323,7 +323,7 @@ jobs:
323323 publish-and-sign: ${{ !github.event.pull_request.head.repo.fork }}
324324
325325 - name: Package, Publish, and Sign Helm Chart to quay.io
326- uses: stackabletech/actions/publish-helm-chart@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
326+ uses: stackabletech/actions/publish-helm-chart@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
327327 with:
328328 chart-registry-uri: quay.io
329329 chart-registry-username: stackable+robot_sdp_charts_github_action_build
@@ -354,13 +354,13 @@ jobs:
354354 runs-on: ubuntu-latest
355355 steps:
356356 - name: Run OpenShift Preflight Check for oci.stackable.tech
357- uses: stackabletech/actions/run-openshift-preflight@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
357+ uses: stackabletech/actions/run-openshift-preflight@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
358358 with:
359359 image-index-uri: oci.stackable.tech/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }}
360360 image-architecture: ${{ matrix.arch }}
361361
362362 - name: Run OpenShift Preflight Check for quay.io
363- uses: stackabletech/actions/run-openshift-preflight@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
363+ uses: stackabletech/actions/run-openshift-preflight@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
364364 with:
365365 image-index-uri: quay.io/stackable/sdp/${{ env.OPERATOR_NAME }}:${{ needs.build-container-image.outputs.operator-version }}
366366 image-architecture: ${{ matrix.arch }}
@@ -402,11 +402,20 @@ jobs:
402402 persist-credentials: false
403403
404404 - name: Send Notification
405- uses: stackabletech/actions/send-slack-notification@a8af17a19bdcc3b5da0065f76e73827ba0c072ce # v0.16.0
405+ uses: stackabletech/actions/send-slack-notification@dc83bb926cc464f0f32454e934777116bd1c7768 # v0.16.3
406406 with:
407407 publish-helm-chart-result: ${{ needs.publish-helm-chart.result }}
408408 publish-manifests-result: ${{ needs.publish-index-manifest.result }}
409409 build-result: ${{ needs.build-container-image.result }}
410+ # Provenance is generated per registry, but the notification only has a
411+ # single field for it, so the two results are collapsed into the worst
412+ # one. 'failure' must be reported verbatim, otherwise the notification
413+ # is not marked as failed.
414+ generate-provenance-result: >-
415+ ${{ (needs.provenance-oci.result == 'failure' || needs.provenance-quay.result == 'failure') && 'failure'
416+ || (needs.provenance-oci.result == 'cancelled' || needs.provenance-quay.result == 'cancelled') && 'cancelled'
417+ || (needs.provenance-oci.result == 'skipped' || needs.provenance-quay.result == 'skipped') && 'skipped'
418+ || 'success' }}
410419 slack-token: ${{ secrets.SLACK_CONTAINER_IMAGE_TOKEN }}
411420 channel-id: C07UG6JH44F # notifications-container-images
412421 type: container-image-build
0 commit comments