This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ NEXUS_URL=https://nexus.thpeetz.de
|
|||||||
MAVEN_REPO=maven-snapshots
|
MAVEN_REPO=maven-snapshots
|
||||||
GROUP_ID=de.thpeetz
|
GROUP_ID=de.thpeetz
|
||||||
ARTIFACT_ID=kontor-spring
|
ARTIFACT_ID=kontor-spring
|
||||||
VERSION=0.3.0-SNAPSHOT
|
VERSION=0.3.0
|
||||||
FILE_EXTENSION=jar
|
FILE_EXTENSION=jar
|
||||||
|
|
||||||
download_url=$(curl -X GET "${NEXUS_URL}/service/rest/v1/search/assets?repository=${MAVEN_REPO}&maven.groupId=${GROUP_ID}&maven.artifactId=${ARTIFACT_ID}&maven.baseVersion=${VERSION}&maven.extension=${FILE_EXTENSION}" -H "accept: application/json" | jq -rc '.items | .[].downloadUrl' | sort | tail -n 1)
|
download_url=$(curl -X GET "${NEXUS_URL}/service/rest/v1/search/assets?repository=${MAVEN_REPO}&maven.groupId=${GROUP_ID}&maven.artifactId=${ARTIFACT_ID}&maven.baseVersion=${VERSION}&maven.extension=${FILE_EXTENSION}" -H "accept: application/json" | jq -rc '.items | .[].downloadUrl' | sort | tail -n 1)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# This file was generated by the Gradle 'init' task.
|
# This file was generated by the Gradle 'init' task.
|
||||||
# https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
|
# https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
|
||||||
description='Kontor Documentation'
|
description='Kontor Documentation'
|
||||||
version=0.3.0-SNAPSHOT
|
version=0.3.0
|
||||||
group=de.thpeetz
|
group=de.thpeetz
|
||||||
org.gradle.configuration-cache=true
|
org.gradle.configuration-cache=true
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ FROM docker.io/alpine/java:21-jdk AS run
|
|||||||
|
|
||||||
RUN mkdir -p /logs
|
RUN mkdir -p /logs
|
||||||
|
|
||||||
COPY --from=builder /build/libs/kontor-spring-0.3.0-SNAPSHOT.jar app.jar
|
COPY --from=builder /build/libs/kontor-spring-0.3.0.jar app.jar
|
||||||
|
|
||||||
EXPOSE 8100
|
EXPOSE 8100
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ FROM docker.io/alpine/java:21-jdk AS run
|
|||||||
|
|
||||||
RUN mkdir -p /logs
|
RUN mkdir -p /logs
|
||||||
|
|
||||||
COPY ./build/libs/kontor-spring-0.3.0-SNAPSHOT.jar app.jar
|
COPY ./build/libs/kontor-spring-0.3.0.jar app.jar
|
||||||
|
|
||||||
EXPOSE 8100
|
EXPOSE 8100
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
description='Kontor with Spring Boot'
|
description='Kontor with Spring Boot'
|
||||||
version=0.3.0-SNAPSHOT
|
version=0.3.0
|
||||||
group=de.thpeetz
|
group=de.thpeetz
|
||||||
nexusUser=kontor
|
nexusUser=kontor
|
||||||
nexusPassword=kontorNexus
|
nexusPassword=kontorNexus
|
||||||
|
|||||||
Reference in New Issue
Block a user