diff --git a/.github/workflows/harbor.yml b/.github/workflows/harbor.yml index d863582a..2774b3a8 100644 --- a/.github/workflows/harbor.yml +++ b/.github/workflows/harbor.yml @@ -38,5 +38,7 @@ jobs: registry.stoatinternal.com/stoat/legacy-frontend:latest build-args: | REVOLT_PUBLIC_URL=https://api.stoat.chat/ + REVOLT_SAAS=https://git.stoatinternal.com/brand/assets.git + REVOLT_SAAS_BRANCH=for-legacy-web cache-from: type=gha cache-to: type=gha,mode=max diff --git a/Dockerfile b/Dockerfile index d0514149..debccea0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,12 @@ COPY .env.build .env RUN yarn install --frozen-lockfile RUN yarn build:deps # RUN yarn typecheck # lol no + +ARG REVOLT_SAAS +ARG REVOLT_SAAS_BRANCH +ENV REVOLT_SAAS=$REVOLT_SAAS +ENV REVOLT_SAAS_BRANCH=$REVOLT_SAAS_BRANCH + RUN yarn build:highmem RUN yarn workspaces focus --production --all