Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
DOTNET_VERSION: 10.0.x
BICEP_VERSION: 0.40.2
BICEP_VERSION: 0.42.1

jobs:
build:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
DOTNET_VERSION: 10.0.x
BICEP_VERSION: 0.40.2
BICEP_VERSION: 0.42.1

jobs:
publish:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
name: dist
path: |
latest.zip
azuredeploy.bicep
deploy/azuredeploy.bicep

deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -72,10 +72,10 @@ jobs:

- name: Upload to Blob
run: |
az storage blob upload --auth-mode login -f latest.zip --account-name stacmebotprod -c keyvault-acmebot -n v${{ needs.publish.outputs.major_version }}/latest.zip --overwrite
az storage blob upload --auth-mode login -f latest.zip --account-name stacmebotprod -c keyvault-acmebot -n v${{ needs.publish.outputs.major_version }}/${{ needs.publish.outputs.version }}.zip --overwrite
az storage blob upload --auth-mode login -f latest.zip --account-name stacmebotprod -c acmebot -n v${{ needs.publish.outputs.major_version }}/latest.zip --overwrite
az storage blob upload --auth-mode login -f latest.zip --account-name stacmebotprod -c acmebot -n v${{ needs.publish.outputs.major_version }}/${{ needs.publish.outputs.version }}.zip --overwrite
Comment thread
shibayan marked this conversation as resolved.

- name: Publish to Private Registry
run: |
az bicep publish --file azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/keyvault-acmebot:v${{ needs.publish.outputs.major_version }} --force
az bicep publish --file azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/keyvault-acmebot:v${{ needs.publish.outputs.version }} --force
az bicep publish --file deploy/azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/acmebot:v${{ needs.publish.outputs.major_version }} --force
az bicep publish --file deploy/azuredeploy.bicep --target br:cracmebotprod.azurecr.io/bicep/modules/acmebot:v${{ needs.publish.outputs.version }} --force
2 changes: 1 addition & 1 deletion deploy/azuredeploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ resource functionAppDeploy 'Microsoft.Web/sites/extensions@2025-03-01' = {
parent: functionApp
name: 'onedeploy'
properties: {
packageUri: 'https://stacmebotprod.blob.core.windows.net/keyvault-acmebot/v5/latest.zip'
packageUri: 'https://stacmebotprod.blob.core.windows.net/acmebot/v5/latest.zip'
remoteBuild: false
}
}
Expand Down
6 changes: 3 additions & 3 deletions deploy/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.40.2.10011",
"templateHash": "7664189418855377656"
"version": "0.42.1.51946",
"templateHash": "7098638128340013219"
}
},
"parameters": {
Expand Down Expand Up @@ -227,7 +227,7 @@
"apiVersion": "2025-03-01",
"name": "[format('{0}/{1}', variables('functionAppName'), 'onedeploy')]",
"properties": {
"packageUri": "https://stacmebotprod.blob.core.windows.net/keyvault-acmebot/v5/latest.zip",
"packageUri": "https://stacmebotprod.blob.core.windows.net/acmebot/v5/latest.zip",
"remoteBuild": false
},
"dependsOn": [
Expand Down
Loading