Skip to content

publish bicep modules to ACR with azure devops #5089

Answered by Agazoth
JeroenvdBurg asked this question in Q&A
Discussion options

You must be logged in to vote

@JeroenvdBurg We are documenting our modules in a readme stored along with our modules. When updating the modules, we also need to update the readme to reflect the changes. When doing that, we document the version bump in the readme too.

On top of that, our pipeline evaluates, wether the readme version has been bumped or not. If the readme has been bumped, the pipeline uploads a new version, with the version number from the readme, to the registry. Both outcomes (bump or not) are recorded in the pipeline.

Prior to this, we kept a variable with a version number within the module, but the current approach gives us a cleaner module and endures, that we update the documentation.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@thepaulmacca
Comment options

@cloudfright
Comment options

@thepaulmacca
Comment options

@alex-frankel
Comment options

@thepaulmacca
Comment options

Comment options

You must be logged in to vote
3 replies
@JeroenvdBurg
Comment options

@Agazoth
Comment options

@JeroenvdBurg
Comment options

Answer selected by JeroenvdBurg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants