Skip to content

Commit

Permalink
sudo the whole authenticate script
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidalgo3 committed Apr 1, 2024
1 parent ca835c6 commit ac394ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
CLIENT_ID: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientId }}
CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }}
run: ./scripts/ciauthenticate
run: sudo ./scripts/ciauthenticate

- name: Publish images
run: ./scripts/cipublish --acr pcccr --tag ${{steps.get_image_tag.outputs.tag}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/ciauthenticate
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ CI authentication for this project.
"
}

sudo curl -sL https://aka.ms/InstallAzureCLIDeb | bash
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}

0 comments on commit ac394ee

Please sign in to comment.