Skip to content

Commit

Permalink
use action secret for app/client id
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Nov 12, 2024
1 parent 7ee3ddd commit bfc0f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/peerpods_cluster_recreate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "TF_VAR_subscription_id=$subid" >> "$GITHUB_ENV"
echo "ARM_SUBSCRIPTION_ID=$subid" >> "$GITHUB_ENV"
echo "ARM_TENANT_ID=$(az account show | jq -r '.tenantId')" >> "$GITHUB_ENV"
echo "ARM_CLIENT_ID=$(az ad app list --all | jq -r '.[] | select(.displayName == "contrast-ci") | .appId')" >> "$GITHUB_ENV"
echo "ARM_CLIENT_ID=${{ secrets.CONTRAST_CI_APP_ID }}" >> "$GITHUB_ENV"
echo "ARM_CLIENT_SECRET=${{ secrets.CONTRAST_CI_CLIENT_SECRET_AZURE }}" >> "$GITHUB_ENV"
- name: Upload the image
run: |
Expand Down

0 comments on commit bfc0f0a

Please sign in to comment.