-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,25 @@ pipeline { | |
GITLAB_NAMESPACE=credentials('gitlab-namespace-id') | ||
DOCKERHUB_TOKEN=credentials('docker-hub-ci-pat') | ||
QUAYIO_API_TOKEN=credentials('quayio-repo-api-token') | ||
GIT_SIGNING_KEY=credentials('484fbca6-9a4f-455e-b9e3-97ac98785f5f') | ||
{% for repo_var in repo_vars %} | ||
{{ repo_var }} | ||
{% endfor %} | ||
} | ||
stages { | ||
stage("Set git config"){ | ||
steps{ | ||
sh '''#!/bin/bash | ||
echo ${GIT_SIGNING_KEY} > /config/.ssh/id_sign | ||
git config --global gpg.format ssh | ||
git config --global user.signingkey /config/.ssh/id_sign | ||
git config --global commit.gpgsign true | ||
git config --global user.name LinuxServer-CI | ||
git config --global user.email [email protected] | ||
''' | ||
} | ||
} | ||
} | ||
// Setup all the basic environment variables needed for the build | ||
stage("Set ENV Variables base"){ | ||
steps{ | ||
|