File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 4242 sentry_auth_token=$(aws ssm get-parameter --output text --query Parameter.Value --with-decryption --name /pythonit/${{ inputs.tf_environment }}/common/sentry-auth-token)
4343 echo "::add-mask::$sentry_auth_token"
4444 echo "SENTRY_AUTH_TOKEN=$sentry_auth_token" >> "$GITHUB_OUTPUT"
45+
46+ posthog_key=$(aws ssm get-parameter --output text --query Parameter.Value --with-decryption --name /pythonit/${{ inputs.tf_environment }}/pycon-frontend/posthog-key)
47+ echo "::add-mask::$posthog_key"
48+ echo "POSTHOG_KEY=$posthog_key" >> "$GITHUB_OUTPUT"
4549 - name : Build and push
4650 uses : docker/build-push-action@v6
4751 with :
6266 CONFERENCE_CODE=${{ steps.vars.outputs.conference_code }}
6367 GIT_HASH=${{ inputs.githash }}
6468 secrets : |
65- "sentry_auth_token=${{ steps.vars.outputs.sentry_auth_token }}"
69+ sentry_auth_token=${{ steps.vars.outputs.sentry_auth_token }}
70+ posthog_key=${{ steps.vars.outputs.posthog_key }}
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ COPY . .
2626
2727RUN corepack enable pnpm
2828RUN --mount=type=secret,id=sentry_auth_token,env=SENTRY_AUTH_TOKEN \
29+ --mount=type=secret,id=posthog_key,env=POSTHOG_KEY \
2930 pnpm run build
3031
3132FROM base AS runner
You can’t perform that action at this time.
0 commit comments