-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add develop-SNAPSHOT as default commit for develop deps.
- Loading branch information
1 parent
882e3b8
commit 87ff881
Showing
3 changed files
with
13 additions
and
3 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 |
---|---|---|
@@ -1,13 +1,18 @@ | ||
FROM --platform=$BUILDPLATFORM gradle:8.10.0-jdk21-alpine AS build | ||
ARG RELEASE_MODE | ||
ARG APP_VERSION | ||
ARG DAO_COMMIT_HASH | ||
ARG COMMONS_COMMIT_HASH | ||
WORKDIR /usr/app | ||
COPY . /usr/app | ||
RUN if [ "${RELEASE_MODE}" = true ]; then \ | ||
gradle build --no-build-cache --exclude-task test \ | ||
-PreleaseMode=true \ | ||
-Dorg.gradle.project.version=${APP_VERSION}; \ | ||
else gradle build --no-build-cache --exclude-task test -Dorg.gradle.project.version=${APP_VERSION}; fi | ||
else gradle build --no-build-cache --exclude-task test \ | ||
-PdaoCommitHash= ${DAO_COMMIT_HASH} \ | ||
-PcommonsCommitHash= ${COMMONS_COMMIT_HASH}\ | ||
-Dorg.gradle.project.version=${APP_VERSION}; fi | ||
|
||
FROM amazoncorretto:21.0.4 | ||
LABEL version=${APP_VERSION} description="EPAM ReportPortal. Auth Service" maintainer="Andrei Varabyeu <[email protected]>, Hleb Kanonik <[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