-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,28 @@ RUN turbo run build --filter=${TURBO_APP_SCOPE} | |
|
||
FROM base AS runner | ||
ARG TURBO_APP_PATH | ||
ARG TURBO_APP_NAME | ||
ARG BUILD_TIME | ||
ARG GIT_COMMIT_SHA | ||
ARG GIT_CURRENT_BRANCH | ||
ARG GIT_LAST_LOG_MESSAGE | ||
ARG GIT_LAST_COMMITTER | ||
ARG GIT_LAST_COMMIT_DATE | ||
LABEL org.opencontainers.image.created="$BUILD_TIME" | ||
LABEL org.opencontainers.image.url="https://hive.io/" | ||
LABEL org.opencontainers.image.documentation="https://gitlab.syncad.com/hive/denser" | ||
LABEL org.opencontainers.image.source="https://gitlab.syncad.com/hive/denser" | ||
#LABEL org.opencontainers.image.version="${VERSION}" | ||
LABEL org.opencontainers.image.revision="$GIT_COMMIT_SHA" | ||
LABEL org.opencontainers.image.licenses="MIT" | ||
LABEL org.opencontainers.image.ref.name="Denser $TURBO_APP_NAME" | ||
LABEL org.opencontainers.image.title="Denser $TURBO_APP_NAME Image" | ||
LABEL org.opencontainers.image.description="Runs Denser $TURBO_APP_NAME application" | ||
LABEL io.hive.image.branch="$GIT_CURRENT_BRANCH" | ||
LABEL io.hive.image.commit.log_message="$GIT_LAST_LOG_MESSAGE" | ||
LABEL io.hive.image.commit.author="$GIT_LAST_COMMITTER" | ||
LABEL io.hive.image.commit.date="$GIT_LAST_COMMIT_DATE" | ||
|
||
WORKDIR /app | ||
|
||
RUN npm i -g @beam-australia/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters