From 995f6866f47fbafda9b6e97911741a26de92b85f Mon Sep 17 00:00:00 2001 From: Gustavo Hidalgo Date: Mon, 1 Apr 2024 15:56:41 -0400 Subject: [PATCH] Add sudo to authentication command --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index bda6f43b..2f1eb0dc 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -33,7 +33,7 @@ jobs: CLIENT_ID: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientId }} CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }} run: - curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \ + sudo curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \ az acr login --name pcccr --username ${CLIENT_ID} --password ${CLIENT_SECRET} && \ docker login pcccr.azurecr.io --username ${CLIENT_ID} --password ${CLIENT_SECRET}