Skip to content

Commit c056b79

Browse files
committed
fixup! build-git-installers: publish gpg public key
Use the `akv-secret` action rather than `az keyvault secret show | base64 -d` for downloading the Debian package public GPG key. Signed-off-by: Matthew John Cheetham <[email protected]>
1 parent f941a18 commit c056b79

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/build-git-installers.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -754,9 +754,6 @@ jobs:
754754
- create-macos-artifacts
755755
- windows_artifacts
756756
- prereqs
757-
env:
758-
AZURE_VAULT: ${{ secrets.AZURE_VAULT }}
759-
GPG_PUBLIC_KEY_SECRET_NAME: ${{ secrets.GPG_PUBLIC_KEY_SECRET_NAME }}
760757
environment: release
761758
if: |
762759
success() ||
@@ -807,12 +804,12 @@ jobs:
807804
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
808805
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
809806

810-
- name: Download GPG public key signature file
811-
run: |
812-
az keyvault secret show --name "$GPG_PUBLIC_KEY_SECRET_NAME" \
813-
--vault-name "$AZURE_VAULT" --query "value" --output tsv |
814-
base64 -d >msft-git-public.asc
815-
mv msft-git-public.asc deb-package
807+
- name: Download Linux GPG public key signature file
808+
uses: ./.github/actions/akv-secret
809+
with:
810+
vault: ${{ secrets.AZURE_VAULT }}
811+
secrets: |
812+
${{ secrets.LINUX_GPG_PUBLIC_SECRET_NAME }} base64> deb-package/msft-git-public.asc
816813
817814
- uses: actions/github-script@v6
818815
with:

0 commit comments

Comments
 (0)