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
|
||||
|
||||
Reference in New Issue
Block a user