Merge pull request #12591 from Budibase/set-up-dd-version-and-code-tracking
Set up DD version and code tracking.
This commit is contained in:
commit
f1263eeae4
|
@ -68,9 +68,13 @@ COPY packages/server/builder/ builder/
|
|||
COPY packages/server/client/ client/
|
||||
|
||||
ARG BUDIBASE_VERSION
|
||||
ARG GIT_COMMIT_SHA
|
||||
# Ensuring the version argument is sent
|
||||
RUN test -n "$BUDIBASE_VERSION"
|
||||
ENV BUDIBASE_VERSION=$BUDIBASE_VERSION
|
||||
ENV DD_GIT_REPOSITORY_URL=https://github.com/budibase/budibase
|
||||
ENV DD_GIT_COMMIT_SHA=$GIT_COMMIT_SHA
|
||||
ENV DD_VERSION=$BUDIBASE_VERSION
|
||||
|
||||
EXPOSE 4001
|
||||
|
||||
|
|
|
@ -51,8 +51,12 @@ ENV TENANT_FEATURE_FLAGS=*:LICENSING,*:USER_GROUPS,*:ONBOARDING_TOUR
|
|||
ENV ACCOUNT_PORTAL_URL=https://account.budibase.app
|
||||
|
||||
ARG BUDIBASE_VERSION
|
||||
ARG GIT_COMMIT_SHA
|
||||
# Ensuring the version argument is sent
|
||||
RUN test -n "$BUDIBASE_VERSION"
|
||||
ENV BUDIBASE_VERSION=$BUDIBASE_VERSION
|
||||
ENV DD_GIT_REPOSITORY_URL=https://github.com/budibase/budibase
|
||||
ENV DD_GIT_COMMIT_SHA=$GIT_COMMIT_SHA
|
||||
ENV DD_VERSION=$BUDIBASE_VERSION
|
||||
|
||||
CMD ["./docker_run.sh"]
|
||||
|
|
Loading…
Reference in New Issue