diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5787354d..ff658b6e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Dockerfile.cloud b/Dockerfile.cloud index 85086bac0..edd864266 100644 --- a/Dockerfile.cloud +++ b/Dockerfile.cloud @@ -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