diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 40e80cfe4..83072dd35 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -107,6 +107,12 @@ jobs: cp -r ../iotedge-lorawan-starterkit/TemplateBicep/* ./templates/iotedge-lorawan-starterkit/ sed -r -i 's/..\/iotedge-lorawan-starterkit\/TemplateBicep\/main.bicep/.\/iotedge-lorawan-starterkit\/main.bicep/g' ./templates/azuredeploy.bicep + - name: Update IoTHub Portal docker image tag in app_service.bicep + working-directory: arm-templates/templates + env: + RELEASE_SEM_VERSION: ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} + run: sed -i 's/ghcr.io\/cgi-fr\/iothub-portal:latest/ghcr.io\/cgi-fr\/iothub-portal:${RELEASE_SEM_VERSION}/g' app_service.bicep + - name: Generate ARM file working-directory: arm-templates/templates run: az bicep build --file azuredeploy.bicep --outfile azuredeploy.json