Skip to content

Commit

Permalink
EPMRPP-86835 || Update releaseMode to use Maven instead of Github (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanKustau authored Nov 20, 2023
1 parent ca7de3e commit 5dd9c03
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
FROM --platform=$BUILDPLATFORM gradle:8.4.0-jdk21 AS build
ARG RELEASE_MODE
ARG APP_VERSION
ARG GITHUB_USER
ARG GITHUB_TOKEN
WORKDIR /usr/app
COPY . /usr/app
RUN if [ "${RELEASE_MODE}" = true ]; then \
gradle build --exclude-task test \
-PreleaseMode=true \
-PgithubUserName=${GITHUB_USER} \
-PgithubToken=${GITHUB_TOKEN} \
-Dorg.gradle.project.version=${APP_VERSION}; \
else gradle build --exclude-task test -Dorg.gradle.project.version=${APP_VERSION}; fi

Expand Down

0 comments on commit 5dd9c03

Please sign in to comment.