Commit 32a57006 authored by Anthony FREYERMUTH's avatar Anthony FREYERMUTH
Browse files

[#2] Modified some CI and added Dockerfile

parent d1bda503
Pipeline #56209 failed with stages
in 3 minutes and 28 seconds
......@@ -21,10 +21,6 @@ docker-build:
- echo $CI_JOB_TOKEN
- echo "$CI_JOB_TOKEN" | docker login --username=gitlab-ci-token --password-stdin $CI_REGISTRY
#- echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u gitlab-ci-token --password-stdin
#- docker login -u $CI_JOB_USER -p $CI_JOB_TOKEN $CI_REGISTRY
#- docker login -u "gitlab-ci-token" -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --rm ./ -t ${IMAGE_FQDN}
- docker push ${IMAGE_FQDN}
FROM adoptopenjdk:11-jre-hotspot
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
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