Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gpg sign git commit in gitlab ci

    - |
      mkdir -p ~/.gnupg/
      echo use-agent >> ~/.gnupg/gpg.conf
      echo pinentry-mode loopback >> ~/.gnupg/gpg.conf
    - |
      echo default-cache-ttl 300 >> ~/.gnupg/gpg-agent.conf
      echo max-cache-ttl 600 >> ~/.gnupg/gpg-agent.conf
    - gpg --import --no-tty --passphrase "$GPG_PASSPHRASE" --batch --yes <(echo "$GPG_PRIVATE_KEY" | tr -d '
')
    - git config --global user.signingkey $GPG_KEY_ID
    - git config --global commit.gpgsign true
    - git config --global gpg.program gpg2
Comment

PREVIOUS NEXT
Code Example
Shell :: cd to a sub-directory 
Shell :: is ther any way to save passwords securely of github in linux git 
Shell :: killall kinsing 
Shell :: ps create empty file 
Shell :: terminal run the last x commands 
Shell :: what is GREPCC 
Shell :: gitlab local runner run all jobs 
Shell :: comment installle des salsh commande 
Shell :: git Ambersafety 
Shell :: ring check if the operating system is Linux or not 
Shell :: eb setenv 
Shell :: ssh to gcp vm 
Shell :: Warning: Pub installs executables into $HOME/.pub-cache/ 
Shell :: cdbangular install angular 
Shell :: run alpine container continuously 
Shell :: how to upgrade a kubeone cluster 
Shell :: sed remove line 
Shell :: shell remove consecutive newline 
Shell :: install discord on a script 
Shell :: shell programation 
Shell :: xfce4-notes install 
Shell :: po to mo ubuntu 
Shell :: telnet test port udp 
Shell :: install sinusbot docker 
Shell :: powershell disable password complexity 
Shell :: nstall the XmlDoc2CmdletDoc NuGet package into your project. 
Shell :: bash view specific columns from vcf file 
Shell :: get info about an audio file ffmpeg 
Shell :: sharepoint list password column 
Shell :: half life duckroll script 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =