From c89033cf2939afe70c73c8a2ac317431b2855e91 Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Thu, 11 Jan 2024 15:43:59 -0800 Subject: [PATCH] progress Signed-off-by: Brian DeHamer --- .github/workflows/update-tuf-seeds.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-tuf-seeds.yml b/.github/workflows/update-tuf-seeds.yml index 46d9d0219..e851a0fa4 100644 --- a/.github/workflows/update-tuf-seeds.yml +++ b/.github/workflows/update-tuf-seeds.yml @@ -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 ${TUF_CACHE}/root.json | base64)" \ + --arg trusted_root "$(cat ${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)" \