Skip to content

Commit a189b72

Browse files
committed
ci: Move step output to env var
1 parent 96b8780 commit a189b72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ubi-rust-builder.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ jobs:
4646
tags: oci.stackable.tech/sdp/${{ matrix.ubi-version }}-rust-builder:${{ env.TAG }}
4747
- name: Sign the published builder image
4848
shell: bash
49+
env:
50+
DIGEST: ${{ steps.build-and-push.outputs.digest }}
4951
run: |
5052
# Refer to image via its digest (oci.stackable.tech/sdp/airflow@sha256:0a1b2c...)
5153
# This generates a signature and publishes it to the registry, next to the image
5254
# Uses the keyless signing flow with Github Actions as identity provider
53-
cosign sign -y "oci.stackable.tech/sdp/${{ matrix.ubi-version }}-rust-builder@${{ steps.build-and-push.outputs.digest }}"
55+
cosign sign -y "oci.stackable.tech/sdp/${{ matrix.ubi-version }}-rust-builder@$DIGEST"
5456
create_manifest:
5557
permissions:
5658
id-token: write

0 commit comments

Comments
 (0)