help renovate parse act version [CI SKIP]
This commit is contained in:
parent
be9b2b2678
commit
f1a61a407e
@ -2,7 +2,10 @@ FROM golang:1.21-alpine3.18 as builder
|
||||
# Do not remove `git` here, it is required for getting runner version when executing `make build`
|
||||
RUN apk add --no-cache make git
|
||||
|
||||
RUN git clone --depth 1 --branch v0.2.6 https://gitea.com/gitea/act_runner /opt/src/act_runner
|
||||
ARG ACT_VERSION=0.2.6
|
||||
|
||||
RUN git clone --depth 1 --branch v${ACT_VERSION} https://gitea.com/gitea/act_runner /opt/src/act_runner
|
||||
|
||||
WORKDIR /opt/src/act_runner
|
||||
|
||||
RUN make clean && make build
|
||||
|
24
renovate.json
Normal file
24
renovate.json
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
{
|
||||
"extends": [":automergeMinor", ":automergePr", ":automergeRequireAllStatusChecks", ":dependencyDashboard", ":disableRateLimiting", ":rebaseStalePrs"],
|
||||
"baseBranches": ["develop"],
|
||||
"major": {
|
||||
"dependencyDashboardApproval": true
|
||||
},
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["Dockerfile"],
|
||||
"matchStrings": ["ARG ACT_VERSION=[\"](?<currentValue>.*)[\"]"],
|
||||
"datasourceTemplate": "gitea-releases",
|
||||
"depNameTemplate": "gitea/act_runner"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": ["gitea-releases"],
|
||||
"matchDepNames": ["gitea/act_runner"],
|
||||
"extractVersion": "^v(?<version>.*)$"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user