Skip to content

Commit 09c34ce

Browse files
authored
Attest approval on artifact (#30)
1 parent 78135e3 commit 09c34ce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-deploy-backend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
secrets: inherit
210210

211211
get-approver-for-production:
212-
needs: [setup, deploy-production]
212+
needs: [setup, build, deploy-production]
213213
runs-on: ubuntu-latest
214214
steps:
215215
- uses: actions/checkout@v4
@@ -233,6 +233,7 @@ jobs:
233233
--name release-approval \
234234
--flow ${{ env.KOSLI_FLOW }} \
235235
--trail ${{ needs.setup.outputs.kosli-trail }} \
236+
--fingerprint ${{ needs.build.outputs.fingerprint }} \
236237
--attestation-data ${{ steps.get-approver.outputs.approval-json-file }} \
237238
--annotate Approver="${{ steps.get-approver.outputs.approver }}"
238239

apps/backend/backend-content.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
This is just a file to test out that changes to back-end source code
22
can trigger a build, reporting to Kosli
33

4-
counter=10
4+
counter=11

0 commit comments

Comments
 (0)