diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2644ec6df..49e5974b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/') }} diff --git a/Dockerfile b/Dockerfile index 9a6e2d1fe..21f9d78c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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