0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: set app insights connection string in cloud Dockerfile (#3536)

This commit is contained in:
Gao Sun 2023-03-20 14:32:24 +08:00 committed by GitHub
parent a336de7938
commit a688b242ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -134,6 +134,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: |
admin_endpoint=https://auth.logto.${{ inputs.target == 'prod' && 'io' || 'dev' }}/
applicationinsights_connection_string=${{ secrets.APPLICATIONINSIGHTS_CONNECTION_STRING }}
deploy-core:
runs-on: ubuntu-latest

View file

@ -23,6 +23,8 @@ ENV CONSOLE_PUBLIC_URL=/
ENV IS_CLOUD=1
ARG admin_endpoint
ENV ADMIN_ENDPOINT=${admin_endpoint}
ARG applicationinsights_connection_string
ENV APPLICATIONINSIGHTS_CONNECTION_STRING=${applicationinsights_connection_string}
RUN pnpm prepack
RUN pnpm -r --filter @logto/console --filter @logto/cloud build