Commit e8540af3 authored by Anthony FREYERMUTH's avatar Anthony FREYERMUTH
Browse files

[#2] Some modifications on CI, TODO: register a gitlab-runner on the VM

parent c489c45b
Pipeline #56188 failed with stage
in 22 seconds
stages:
- build
- package
- deploy
# - package
# - deploy
maven-build:
stage: build
script: "./mvnw clean install"
artifacts:
paths:
- target/*.jar
stage: build
tags:
- build
script: "./mvnw clean install"
artifacts:
paths:
- target/*.jar
docker-build:
stage: build
before_script:
- docker logout
- echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u gitlab-ci-token --password-stdin
stage: build
tags:
- build
before_script:
- docker logout
- echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u gitlab-ci-token --password-stdin
script:
- docker build --rm ./ -t ${IMAGE_FQDN}
- docker push ${IMAGE_FQDN}
......
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