Skip to content

Update Alpine version in images with alpine variant #29501

Discussion options

You must be logged in to vote

The challenge here is it's a set of rules trying to force Renovate to manage container image tags like node:20.14.0-alpine3.19 as two dependencies - a Node version and an Alpine version. I definitely agree with node versioning as it is, and it should be applicable when managing the Node part of this, but not the Alpine part.

So, this worked for me - ignore the original Node preset that's applicable to all, but add it back limiting the managers it's applicable to. Since regex isn't in the list, it isn't applied to the regexManager above. Note this is very specific to an example with dockerfile and gitlabci managers, so that might have to be changed.

{
  ...regex manager for alpine...
  "ig…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@mschoettle
Comment options

Comment options

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

@aarongoldenthal
Comment options

@HonkingGoose
Comment options

@aarongoldenthal
Comment options

Answer selected by mschoettle
@mschoettle
Comment options

@mschoettle
Comment options

@HonkingGoose
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants