ci/cd Fix tee command not being ran as sudo in tests core linux

This commit is contained in:
Théophile Diot 2023-09-18 16:52:46 +02:00
parent 453cfc2dcc
commit 6a38390404
No known key found for this signature in database
GPG Key ID: 248FEA4BAE400D06
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ jobs:
# Install NGINX
sudo apt update
sudo apt install -y curl gnupg2 ca-certificates lsb-release ubuntu-keyring
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | tee /etc/apt/sources.list.d/nginx.list
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
sudo apt update
sudo apt install -y nginx=1.24.0-1~jammy
# Install BunkerWeb