Skip to content
Snippets Groups Projects
Verified Commit ef618841 authored by Johan's avatar Johan
Browse files

Migrate to docker based releases

parent da3b83bb
No related branches found
Tags 11-2
No related merge requests found
Pipeline #3080 passed
......@@ -2,11 +2,27 @@ stages:
- build
- deploy
image: registry.johnnei.org:443/docker-images/maven:lts
build site:
stage: build
tags: ["docker"]
script: "mvn -B clean site"
artifacts:
paths:
- "**/target/site/*"
- "**/target/site/css/*"
- "**/target/site/images/*"
- "**/target/site/images/logos/*"
publish deployment:
stage: deploy
tags:
- deploy
script: "mvn -B -Prelease clean deploy -DskipTests -Dgpg.passphrase=$GPG_PASS"
tags: ["docker"]
script:
- "echo $GPG_PRIVATE_KEY | base64 -d | gpg --import --batch"
- "mkdir -p ~/.m2"
- "cp $OSSRH_SETTINGS ~/.m2/settings.xml"
- "mvn -B -Prelease clean deploy -DskipTests -Dgpg.passphrase=$GPG_PASS"
artifacts:
paths:
- "**/target/*.pom"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment