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 9d47195
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/update-tuf-seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ 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 "${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"}}}'
# --arg npm_keys "$(cat ${TUF_CACHE}/targets/registry.npmjs.org%2Fkeys.json | base64)" \

0 comments on commit 9d47195

Please sign in to comment.