From bb99d3bf9a003a29527fc69f722fdc3ab9a2aa00 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Fri, 19 Jan 2024 09:39:10 -0800 Subject: [PATCH] Sudo the pipeline command --- snapshot-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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