From ca267c1566d46b34fbb5e0c900d001bebffc4cc7 Mon Sep 17 00:00:00 2001 From: Antonio Tarricone <110115827+antoniotarricone@users.noreply.github.com> Date: Wed, 29 May 2024 13:15:43 +0200 Subject: [PATCH] fix: Fixed references to env. var. (#90) --- .github/workflows/post-merge.yml | 4 ++-- src/main/resources/application.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml index c8bba018..0dc5c558 100644 --- a/.github/workflows/post-merge.yml +++ b/.github/workflows/post-merge.yml @@ -180,7 +180,7 @@ jobs: with: inlineScript: | az config set extension.use_dynamic_install=yes_without_prompt - az containerapp update -n ${{ secrets.AZURE_CONTAINER_APP_NAME }} -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }} -i ghcr.io/${{ github.repository }}:${{ steps.semantic.outputs.new_release_version }}-RC@sha256:$image_sha256 + az containerapp update -n ${{ secrets.AZURE_CONTAINER_APP_NAME }} -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }} -i ghcr.io/${{ github.repository }}:${{ steps.semantic.outputs.new_release_version }}-RC@sha256:${{ env.image_sha256 }} API_DATA=$(az apim api show --resource-group ${{ secrets.AZURE_APIM_RESOURCE_GROUP }} --service-name ${{ secrets.AZURE_APIM_NAME }} --api-id ${{ secrets.AZURE_APIM_API_ID }} --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }} --query "{path:path, serviceUrl:serviceUrl}") API_PATH=$(echo $API_DATA | jq -r '.path') API_SERVICE_URL=$(echo $API_DATA | jq -r '.serviceUrl') @@ -285,4 +285,4 @@ jobs: with: inlineScript: | az config set extension.use_dynamic_install=yes_without_prompt - az containerapp update -n ${{ secrets.AZURE_CONTAINER_APP_NAME }} -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }} -i ghcr.io/${{ github.repository }}:${{ steps.semantic.outputs.new_release_version }}@sha256:$image_sha256 + az containerapp update -n ${{ secrets.AZURE_CONTAINER_APP_NAME }} -g ${{ secrets.AZURE_RESOURCE_GROUP_NAME }} --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }} -i ghcr.io/${{ github.repository }}:${{ steps.semantic.outputs.new_release_version }}@sha256:${{ env.image_sha256 }} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6f9d9ba6..03e63256 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -121,4 +121,4 @@ quarkus.otel.azure.applicationinsights.connection.string=InstrumentationKey=dumm # resource is invoked. # ------------------------------------------------------------------------------ %dev.mp.jwt.verify.publickey.location=/.well-known/jwks.json -%prod.mp.jwt.verify.publickey.location=${auth.base-url}/.well-known/jwks.json +%prod.mp.jwt.verify.publickey.location=${auth.base-url}/.well-known/jwks.json \ No newline at end of file