From e20fde5f7f03cb6a3cf4845cf89adc33df6c4c12 Mon Sep 17 00:00:00 2001 From: Joeri Date: Thu, 17 Aug 2023 13:59:12 +0200 Subject: [PATCH] FPX: GHA --- .github/workflows/fpx-azure-marketplace-release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fpx-azure-marketplace-release.yml b/.github/workflows/fpx-azure-marketplace-release.yml index 515e50bb..312a2995 100644 --- a/.github/workflows/fpx-azure-marketplace-release.yml +++ b/.github/workflows/fpx-azure-marketplace-release.yml @@ -10,6 +10,7 @@ on: env: PUBLISHER: fortinet PRODUCT: FortiProxy + PRODUCTL: fortiproxy PRODUCTSHORT: FPX PRODUCTOFFER: fortinet-fortiproxy PRODUCTSKU: fpx-vm-byol @@ -56,15 +57,15 @@ jobs: $content | ConvertTo-Json -depth 100 | Out-File "${dest}/createUiDefinition.json" "" | Out-File -Append "${dest}/createUiDefinition.json" } - Compress-Archive -Path "./releases/*" -DestinationPath "./releases/fortiproxy-azure-templates.zip" + Compress-Archive -Path "./releases/*" -DestinationPath "./releases/${env:PRODUCTL}-azure-templates.zip" azPSVersion: "latest" - name: upload-templates-zip uses: svenstaro/upload-release-action@v2 with: repo_token: ${{secrets.GITHUB_TOKEN}} - file: "./releases/fortiproxy-azure-templates.zip" - asset_name: "fortiproxy-azure-templates.zip" + file: "./releases/${{env.PRODUCTL}}-azure-templates.zip" + asset_name: "${{env.PRODUCTL}}-azure-templates.zip" tag: ${{github.ref}} overwrite: true - body: "FortiProxy Azure Marketplace Release" + body: "${{env.PRODUCT}} Azure Marketplace Release"