Skip to content

Commit

Permalink
chore(ci): Fix container app suffix (#1166)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Improved handling of revision names for container apps by replacing
'.' with '-' in the `revisionSuffix` parameter, ensuring compliance with
naming conventions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
oskogstad authored Sep 20, 2024
1 parent 162ce9a commit f088c88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .azure/modules/containerApp/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ param resources object?
@description('The suffix for the revision of the container app')
param revisionSuffix string?

// Container app revision name does not allow '.' character
replace(revisionSuffix, '.', '-')

var probes = [
{
periodSeconds: 5
Expand Down

0 comments on commit f088c88

Please sign in to comment.