mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
ci: add cloud connectors when build for dev (#3426)
This commit is contained in:
parent
5a20199675
commit
e39fcc5200
2 changed files with 5 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -75,6 +75,8 @@ jobs:
|
|||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
additional_connector_args="--cloud"
|
||||
|
||||
- name: Setup Depot
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
|
|
|
@ -19,7 +19,9 @@ RUN pnpm i
|
|||
RUN pnpm -r build
|
||||
|
||||
### Add official connectors ###
|
||||
RUN pnpm cli connector add --official -p .
|
||||
ARG additional_connector_args
|
||||
ENV ADDITIONAL_CONNECTOR_ARGS=${additional_connector_args}
|
||||
RUN pnpm cli connector add --official $ADDITIONAL_CONNECTOR_ARGS -p .
|
||||
|
||||
### Prune dependencies for production ###
|
||||
RUN rm -rf node_modules packages/**/node_modules
|
||||
|
|
Loading…
Reference in a new issue