Skip to content

Commit f3896b9

Browse files
committed
fixed login
1 parent 37d58fc commit f3896b9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,14 @@ jobs:
2828
.goreleaser-windows.yaml
2929
3030
- name: Azure Login
31-
uses: azure/login@v2
32-
with:
33-
creds: '{"clientId":"${{ secrets.DECO_SIGN_AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.DECO_SIGN_AZURE_CLIENT_SECRET }}","tenantId":"${{ secrets.DECO_SIGN_AZURE_TENANT_ID }}","subscriptionId":"${{ secrets.DECO_SIGN_AZURE_SUBSCRIPTION_ID }}"}'
34-
environment: AzureGermanCloud
31+
shell: pwsh
32+
run: |
33+
az cloud set --name AzureGermanCloud
34+
az login --service-principal `
35+
-u ${{ secrets.DECO_SIGN_AZURE_CLIENT_ID }} `
36+
-p ${{ secrets.DECO_SIGN_AZURE_CLIENT_SECRET }} `
37+
--tenant ${{ secrets.DECO_SIGN_AZURE_TENANT_ID }}
38+
az account set --subscription ${{ secrets.DECO_SIGN_AZURE_SUBSCRIPTION_ID }}
3539
3640
- name: Setup Azure Trusted Signing
3741
uses: azure/[email protected]

0 commit comments

Comments
 (0)