Deploy collab like nightly (#7174)

After this change we'll be able to push a tag to github to deploy to
collab.

The advantages of this are that there's no longer a separate step to
first
build the image, and then deploy it.

In the future I'd like to make this happen more automatically (maybe as
part of
bump nightly).

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-02-01 11:54:49 -07:00 committed by GitHub
parent 5424c8bfd5
commit 7b9d51929d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 188 additions and 115 deletions

View file

@ -6,6 +6,9 @@ COPY . .
# Compile collab server
ARG CARGO_PROFILE_RELEASE_PANIC=abort
ARG GITHUB_SHA
ENV GITHUB_SHA=$GITHUB_SHA
RUN --mount=type=cache,target=./script/node_modules \
--mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=./target \