diff --git a/Dockerfile b/Dockerfile index d6a7b1a..9a1ceee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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