-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Brian DeHamer <bdehamer@github.com>
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Update TUF Seeds | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update-tuf-seeds: | ||
runs-on: ubuntu-latest | ||
env: | ||
DEBUG: "tuf:*" | ||
TUF_MIRROR: https://tuf-repo-cdn.sigstore.dev | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3 | ||
- name: Setup node | ||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3 | ||
with: | ||
node-version: 18 | ||
cache: npm | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build sigstore-js | ||
run: npm run build | ||
- name: Init TUF cache | ||
run: sigstore init --cache-path ${{ runner.temp }/tuf --mirror ${TUF_MIRROR} | ||
- name: ls | ||
run: tree ${{ runner.temp }} |