1
1
Fork 0

Grrr Why can#t I call the gpg keys??

Signed by @spirillen
This commit is contained in:
spirillen 2021-09-11 18:21:04 +02:00
parent 153938b597
commit 6cb8c3d035
No known key found for this signature in database
GPG Key ID: 30562ED6FB236E4E
1 changed files with 3 additions and 8 deletions

View File

@ -3,7 +3,7 @@
image: ubuntu:20.04
variables:
GIT_DEPTH: 5
GIT_DEPTH: 2
before_script:
- echo "Before script section"
@ -15,14 +15,9 @@ before_script:
- git config --global commit.gpgsign true
# - git config --global user.email "$GITLAB_USER_EMAIL"
# - git config --global user.name "$GIT_USER_NAME"
# - git remote set-url origin https://$GIT_USER_NAME:$GIT_USER_NAME_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
# - gpg -v --import <(echo "$GITLAB_USER_LOGIN_$GPG_PUB_KEY")
# - gpg -v --import <(echo "$GITLAB_USER_LOGIN_$GPG_PRIVATE_KEY")
- git config --global user.email "pdns@pm.me"
- git config --global user.name "mypdns"
- git remote set-url origin https://$mypdns:$mypdns_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
- gpg -v --import <(echo "$mypdns_GPG_PUB_KEY")
- gpg -v --import <(echo "$mypdns_GPG_PRIVATE_KEY")
- git config --global user.name "My Privacy DNS"
- git remote set-url origin https://mypdns:$mypdns_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
after_script:
- echo "After script section"