Use regex to capture pocketbase version
All checks were successful
Deploy / build (push) Successful in 27s
All checks were successful
Deploy / build (push) Successful in 27s
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
FROM alpine:3.19 AS downloader
|
||||
FROM alpine:3.19.1 AS downloader
|
||||
|
||||
# renovate: datasource=github-releases depName=pocketbase/pocketbase extractVersion=^v(?<version>.*)$
|
||||
ARG VERSION=0.22.10
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG TARGETVARIANT
|
||||
ARG VERSION=0.22.10
|
||||
|
||||
ENV BUILDX_ARCH="${TARGETOS:-linux}_${TARGETARCH:-amd64}${TARGETVARIANT}"
|
||||
|
||||
@@ -11,7 +13,7 @@ ENV BUILDX_ARCH="${TARGETOS:-linux}_${TARGETARCH:-amd64}${TARGETVARIANT}"
|
||||
ADD https://github.com/pocketbase/pocketbase/releases/download/v${VERSION}/pocketbase_${VERSION}_${BUILDX_ARCH}.zip /tmp/pb.zip
|
||||
RUN unzip /tmp/pb.zip -d /pb/
|
||||
|
||||
FROM alpine:3.19
|
||||
FROM alpine:3.19.1
|
||||
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
|
||||
|
||||
EXPOSE 8090
|
||||
|
||||
@@ -2,5 +2,16 @@
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"local>hads/renovate-config"
|
||||
],
|
||||
"regexManagers": [
|
||||
{
|
||||
"fileMatch": [
|
||||
"(^|/)Dockerfile$",
|
||||
"(^|/)Dockerfile\\.[^/]*$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s(ENV|ARG) .*?_VERSION=(?<currentValue>.*)\\s"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user