Skip to content

Commit

Permalink
Renovate should update Dockerfile/Tool Versions (#252)
Browse files Browse the repository at this point in the history
* Pull out docker versions from comments.

* Try to get Renovate to update stuff together.

* Node-version
  • Loading branch information
tpendragon authored Nov 14, 2024
1 parent b1d7b46 commit 91c1b03
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.0
22.9.0
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ruby 3.3.6
awscli 2.11.24
yarn 1.22.10
yarn 1.22.10 # datasource=npm depName=yarn versioning=npm
nodejs 22.9.0
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# syntax = docker/dockerfile:1

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
# renovate: datasource=ruby-version depName=ruby
ARG RUBY_VERSION=3.3.6
FROM ruby:$RUBY_VERSION-slim as base

Expand Down Expand Up @@ -29,7 +30,9 @@ RUN apt-get update -qq && \
FROM prebuild as node

# Install JavaScript dependencies
# renovate: datasource=node-version depName=node
ARG NODE_VERSION=22.9.0
# renovate: datasource=npm depName=yarn versioning=npm
ARG YARN_VERSION=1.22.21
ENV PATH=/usr/local/node/bin:$PATH
RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ && \
Expand Down
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"group:allNonMajor"
"group:allNonMajor",
"regexManagers:dockerfileVersions"
],
"enabledManagers": ["asdf", "bundler", "circleci", "docker-compose", "dockerfile", "nodenv", "npm"],
"packageRules": [
Expand Down

0 comments on commit 91c1b03

Please sign in to comment.