diff --git a/snapshot-pipeline.yml b/snapshot-pipeline.yml index 91081d10f54..b0d3deaf069 100644 --- a/snapshot-pipeline.yml +++ b/snapshot-pipeline.yml @@ -47,8 +47,8 @@ steps: # 3. Import keys into gpg - bash: | - apt update - apt install -y gpg + sudo apt update + sudo apt install -y gpg gpg --import --no-tty --batch --yes $(Agent.TempDirectory)/public.key gpg --import --no-tty --batch --yes $(Agent.TempDirectory)/private.key gpg --list-keys --keyid-format LONG