Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parent-java
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnnei Parent Profiles
parent-java
Commits
ef618841
Verified
Commit
ef618841
authored
4 years ago
by
Johan
Browse files
Options
Downloads
Patches
Plain Diff
Migrate to docker based releases
parent
da3b83bb
No related branches found
Branches containing commit
Tags
11-2
Tags containing commit
No related merge requests found
Pipeline
#3080
passed
4 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+19
-3
19 additions, 3 deletions
.gitlab-ci.yml
with
19 additions
and
3 deletions
.gitlab-ci.yml
+
19
−
3
View file @
ef618841
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment