0
Fork 0
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:
Gao Sun 2023-03-15 17:41:18 +08:00 committed by GitHub
parent 5a20199675
commit e39fcc5200
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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/') }}

View file

@ -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