Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only sign when secrets have been configured
Browse files Browse the repository at this point in the history
ringods committed Dec 10, 2024

Verified

This commit was signed with the committer’s verified signature.
ringods Ringo De Smet
1 parent b193176 commit 16ad22e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_provider.yml
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ jobs:
env:
PROVIDER_VERSION: ${{ inputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SIGN: ${{ secrets.AZURE_SIGNING_KEY_VAULT_URI != '' }}
strategy:
fail-fast: true
matrix:
@@ -60,7 +61,7 @@ jobs:
run: make bin/${{ matrix.platform.os }}-${{ matrix.platform.arch }}/pulumi-resource-acme.exe

- name: Sign windows provider
if: matrix.platform.os == 'windows'
if: matrix.platform.os == 'windows' && env.SIGN == 'true'
run: |
az login --service-principal \
-u ${{ secrets.AZURE_SIGNING_CLIENT_ID }} \

0 comments on commit 16ad22e

Please sign in to comment.