Skip to content

Commit

Permalink
Merge pull request #57 from codenotary/cicd/attestation
Browse files Browse the repository at this point in the history
[CICD] Notarize all files with vcn
  • Loading branch information
marcosanchotene committed Oct 6, 2022
2 parents df41358 + 697d28e commit 89148d0
Showing 1 changed file with 12 additions and 26 deletions.
38 changes: 12 additions & 26 deletions .github/workflows/notarize-immudb-py.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,18 @@
name: Notarize immudb-py

on:
push:
pull_request:
branches:
- master
- main
- develop
types:
- closed

jobs:
notarize:
name: Notarize immudb-py directory and repository
runs-on: [self-hosted, linux]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Notarize immudb-py repository with latest cas
uses: codenotary/cas-notarize-asset-github-action@main
with:
asset: git://./
cas_api_key: ${{ secrets.CAS_API_KEY_ATTEST }}

- name: Download vcn
uses: codenotary/vcn-github-action@v2
with:
standard_usage: false

- name: Notarize immudb-py directory and dependencies with latest vcn
run: ./vcn n ./ --bom --lc-host ${{ secrets.CI_TEST_HOST }} --lc-api-key ${{ secrets.CICD_LEDGER1_ACTION_KEY }}

- name: Notarize immudb-py repository and dependencies with latest vcn
run: ./vcn n git://./ --bom --lc-host ${{ secrets.CI_TEST_HOST }} --lc-api-key ${{ secrets.CICD_LEDGER1_ACTION_KEY }}
notarize-repository:
name: Notarize immudb-py repository with cas and vcn
uses: codenotary/notarize-with-cas-and-vcn/.github/workflows/notarize-with-cas-and-vcn.yml@main
secrets:
cas-api-key: ${{ secrets.CAS_API_KEY_ATTEST }}
vcn-api-key: ${{ secrets.CICD_LEDGER1_ACTION_KEY }}
vcn-host: ${{ secrets.CI_TEST_HOST }}

0 comments on commit 89148d0

Please sign in to comment.