Commit e1c8a2ea authored by LAVENIER's avatar LAVENIER
Browse files

[fix] CI: fix yaml

parent ec370abc
......@@ -58,9 +58,10 @@ variables:
script:
- echo "Building from sources..."
- mvn clean install -s ./ci_settings.xml -q -DskipTests
after_script:
# Get project version
- APP_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout --non-recursive)
- mkdir -p target
- APP_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout --non-recursive)
- echo "APP_VERSION=${APP_VERSION}" > ${ENV_FILE}
environment:
name: test
......
FROM openjdk:8-jdk-alpine
ARG WAR_FILE=app.war
ARG CONFIG_FILES=config/*.properties
RUN get update && apt -y install libsodium-dev
RUN apt update && apt -y install libsodium-dev
RUN addgroup -S spring && adduser -S spring -G spring
USER spring:spring
WORKDIR /app
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment