Skip to content

Commit

Permalink
adding debugging info
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Oct 3, 2024
1 parent 2e9a61b commit 091fde2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/image-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 091fde2

Please sign in to comment.