From cabd8304daf289f185de87d6b0907d1e181476bb Mon Sep 17 00:00:00 2001
From: Brian DeHamer <bdehamer@github.com>
Date: Thu, 11 Jan 2024 15:43:59 -0800
Subject: [PATCH] progress

Signed-off-by: Brian DeHamer <bdehamer@github.com>
---
 .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..51bd1a513 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)" \