Skip to content

Commit

Permalink
add: ASDF_VERSION to renovate
Browse files Browse the repository at this point in the history
Signed-off-by: Naoki Aoyama <[email protected]>
  • Loading branch information
naa0yama committed Sep 22, 2024
1 parent d7e96d7 commit 17df582
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
ARG DEBIAN_FRONTEND=noninteractive \
DEFAULT_USERNAME=user \
\
ASDF_VERSION="v0.14.0" \
BIOME_VERSION="cli/v1.8.3" \
WSL2SSHAGENT_VERSION="v0.9.5"

Expand Down Expand Up @@ -154,10 +155,10 @@ RUN set -eux && \
#- -----------------------------------------------------------------------------
FROM base AS user

ARG ASDF_VERSION=v0.14.0 \
ARG DEBIAN_FRONTEND \
DEFAULT_USERNAME \
\
DEBIAN_FRONTEND \
DEFAULT_USERNAME
ASDF_VERSION

COPY --chown=${DEFAULT_USERNAME} --chmod=644 .tool-versions /home/${DEFAULT_USERNAME}/.tool-versions

Expand Down
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
"local>naa0yama/renovate-config"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"Dockerfile"
],
"matchStrings": [
"ASDF_VERSION: (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "asdf-vm/asdf"
},
{
"customType": "regex",
"fileMatch": [
Expand Down

0 comments on commit 17df582

Please sign in to comment.