Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
Signed-off-by: Brian DeHamer <bdehamer@github.com>
  • Loading branch information
bdehamer committed Jan 11, 2024
1 parent 3476b3e commit b18e12e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/update-tuf-seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
- name: ls
run: tree ${{ runner.temp }}
- name: make new
env:
TUF_CACHE: ${{ runner.temp }}/tuf
run: |
jq -n -c \
--arg root "$(cat ${{ runner.temp }}/tuf/root.json | base64)" \
--arg trusted_root "$(cat ${{ runner.temp }}/tuf/targets/trusted_root.json | base64)" \
'{"foo":{"root.json":$root,"targets":{"trusted_root.json":$trusted_root}}}'
--arg mirror "${{ env.TUF_MIRROR }}" \
--arg root "$(cat ${{ env.TUF_CACHE }}/root.json | base64)" \
--arg trusted_root "$(cat ${{ env.TUF_CACHE }}/targets/trusted_root.json | base64)" \
'{"$mirror":{"root.json":$root,"targets":{"trusted_root.json":$trusted_root,"registry.npmjs.org%2Fkeys.json":"npm_keys"}}}'

0 comments on commit b18e12e

Please sign in to comment.