File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090 echo "NVIDIA_API_KEY=${NVIDIA_API_KEY}" >> deploy/compose/.env
9191 echo "LLM_NIM_URL=https://integrate.api.nvidia.com/v1" >> deploy/compose/.env
9292
93+ echo "✅ .env file configured at deploy/compose/.env"
94+
95+ # scripts/setup/dev_up.sh sources and edits .env in the repository root (cwd), not deploy/compose/.env
9396 cp deploy/compose/.env .env
97+ echo "✅ Root .env synced for dev_up.sh"
9498
95- echo "✅ .env file configured at deploy/compose/.env"
99+ # Prerequisite: Authenticate Docker to NGC registry for private NIM image pulls
100+ - name : " Authenticate Docker to nvcr.io"
101+ env :
102+ NVIDIA_API_KEY : ${{ secrets.NVIDIA_API_KEY }}
103+ run : |
104+ if [ -z "${NVIDIA_API_KEY}" ]; then
105+ echo "❌ Missing required secret: NVIDIA_API_KEY"
106+ echo " Set NVIDIA_API_KEY to an NGC registry API key with Catalog/registry access."
107+ exit 1
108+ fi
109+
110+ echo "Logging into nvcr.io..."
111+ echo "${NVIDIA_API_KEY}" | docker login nvcr.io -u '$oauthtoken' --password-stdin
112+ echo "✅ Docker authenticated to nvcr.io"
96113
97114 # Step 5: Start infrastructure services
98115 - name : " Step 5: Start infrastructure services"
You can’t perform that action at this time.
0 commit comments