From 091fde2bd00f524e6d779da0038e067bc8163849 Mon Sep 17 00:00:00 2001 From: Phil Owen <19691521+PhillipsOwen@users.noreply.github.com> Date: Thu, 3 Oct 2024 12:48:46 -0400 Subject: [PATCH] adding debugging info --- .github/workflows/image-push.yml | 16 ++++++---------- Dockerfile | 10 ++++------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/image-push.yml b/.github/workflows/image-push.yml index 1c6a30a..1806d59 100644 --- a/.github/workflows/image-push.yml +++ b/.github/workflows/image-push.yml @@ -47,25 +47,21 @@ jobs: push: true build-args: | APP_VERSION=${{ steps.get_version.outputs.VERSION }} - APP_UI_MAPBOX_TOKEN=${{ secrets.UI_MAPBOX_TOKEN }} - + APP_UI_MAPBOX_TOKEN=${{ secrets.UI_MAPBOX_TOKEN }} APP_GS_DATA_AWS_URL=${{ secrets.GS_DATA_AWS_URL }} APP_UI_DATA_AWS_URL=${{ secrets.UI_DATA_AWS_URL }} APP_UI_DATA_AWS_TOKEN=${{ secrets.UI_DATA_AWS_TOKEN }} - APP_UI_HURRICANE_ICON_AWS_URL=${{ secrets.UI_HURRICANE_ICON_AWS_URL }} - + APP_UI_HURRICANE_ICON_AWS_URL=${{ secrets.UI_HURRICANE_ICON_AWS_URL }} APP_GS_DATA_PROD_URL=${{ secrets.GS_DATA_PROD_URL }} APP_UI_DATA_PROD_URL=${{ secrets.UI_DATA_PROD_URL }} APP_UI_DATA_PROD_TOKEN=${{ secrets.UI_DATA_PROD_TOKEN }} - APP_UI_HURRICANE_ICON_PROD_URL=${{ secrets.UI_HURRICANE_ICON_PROD_URL }} - + APP_UI_HURRICANE_ICON_PROD_URL=${{ secrets.UI_HURRICANE_ICON_PROD_URL }} APP_GS_DATA_DEV_URL=${{ secrets.GS_DATA_DEV_URL }} APP_UI_DATA_DEV_URL=${{ secrets.UI_DATA_DEV_URL }} APP_UI_DATA_DEV_TOKEN=${{ secrets.UI_DATA_DEV_TOKEN }} - APP_UI_HURRICANE_ICON_DEV_URL=${{ secrets.UI_HURRICANE_ICON_DEV_URL }} - - APP_PACKAGE_RENCI_REGISTRY = ${{ secrets.RENCI_REGISTRY }} - APP_PACKAGE_REGISTRY_TOKEN = ${{ secrets.REGISTRY_TOKEN }} + APP_UI_HURRICANE_ICON_DEV_URL=${{ secrets.UI_HURRICANE_ICON_DEV_URL }} + APP_PACKAGE_RENCI_REGISTRY=${{ secrets.RENCI_REGISTRY }} + APP_PACKAGE_REGISTRY_TOKEN=${{ secrets.REGISTRY_TOKEN }} tags: | ${{ env.REGISTRY }}:latest diff --git a/Dockerfile b/Dockerfile index a47a619..407fa01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,14 +26,12 @@ ENV PATH /src/node_modules/.bin:$PATH COPY package*.json /src/ # get the renci package registry secrets -ARG APP_PACKAGE_RENCI_REGISTRY -ARG APP_PACKAGE_REGISTRY_TOKEN +ARG APP_PACKAGE_RENCI_REGISTRY=$(APP_PACKAGE_RENCI_REGISTRY) +ARG APP_PACKAGE_REGISTRY_TOKEN=$(APP_PACKAGE_REGISTRY_TOKEN) # create the package registry access -RUN echo $APP_PACKAGE_RENCI_REGISTRY >> .npmrc -RUN printf "\n" >> .npmrc -RUN echo $APP_PACKAGE_REGISTRY_TOKEN >> .npmrc -RUN printf "\n" >> .npmrc +RUN printf "$APP_PACKAGE_RENCI_REGISTRY\n" >> .npmrc +RUN printf "$APP_PACKAGE_REGISTRY_TOKEN\n" >> .npmrc RUN cat .npmrc