Sudo the pipeline command
This commit is contained in:
parent
84f0bb4f34
commit
bb99d3bf9a
|
@ -47,8 +47,8 @@ steps:
|
||||||
|
|
||||||
# 3. Import keys into gpg
|
# 3. Import keys into gpg
|
||||||
- bash: |
|
- bash: |
|
||||||
apt update
|
sudo apt update
|
||||||
apt install -y gpg
|
sudo apt install -y gpg
|
||||||
gpg --import --no-tty --batch --yes $(Agent.TempDirectory)/public.key
|
gpg --import --no-tty --batch --yes $(Agent.TempDirectory)/public.key
|
||||||
gpg --import --no-tty --batch --yes $(Agent.TempDirectory)/private.key
|
gpg --import --no-tty --batch --yes $(Agent.TempDirectory)/private.key
|
||||||
gpg --list-keys --keyid-format LONG
|
gpg --list-keys --keyid-format LONG
|
||||||
|
|
Loading…
Reference in New Issue