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:
parent
a336de7938
commit
a688b242ea
2 changed files with 3 additions and 0 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue