diff --git a/.circleci/config.yml b/.circleci/config.yml index 91817909b..413dfdc95 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -107,6 +107,20 @@ jobs: git pull origin $CIRCLE_BRANCH git checkout -b "$CIRCLE_BRANCH-build" git push origin "$CIRCLE_BRANCH-build" + - run: + name: echo GPG Key + command: | + echo "$GPG_PRIVATE_KEY" + - run: + name: Import GPG Key + command: | + echo "$GPG_PRIVATE_KEY" | gpg --import + echo "" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --edit-key 4C19E4CC17E67B7B trust quit + - run: + name: Configure Git for Signing + command: | + git config --global user.signingkey 4C19E4CC17E67B7B + git config --global commit.gpgSign true build-framework: docker: