From eb1a6d5c16d9a6f2ab6d9ae512cae0ed47e9eb6f Mon Sep 17 00:00:00 2001 From: Zvi Grinberg Date: Mon, 11 Mar 2024 08:51:32 +0200 Subject: [PATCH] fix: replace placeholder with secret token Signed-off-by: Zvi Grinberg --- docker-image/Dockerfiles/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-image/Dockerfiles/Dockerfile b/docker-image/Dockerfiles/Dockerfile index 3cf8bbc..14ffc4c 100644 --- a/docker-image/Dockerfiles/Dockerfile +++ b/docker-image/Dockerfiles/Dockerfile @@ -35,6 +35,7 @@ RUN yum install util-linux # copy the .npmrc file COPY configs/.npmrc . # replace placeholder with the actual environment variable +RUN sed -i "s/__PACKAGE_REGISTRY_ACCESS_TOKEN__/${PACKAGE_REGISTRY_ACCESS_TOKEN}/g" ./.npmrc # install Exhort javascript API RUN npm install --global @RHEcosystemAppEng/exhort-javascript-api