mirror of
https://github.com/LukeHagar/pocketbase.git
synced 2025-12-06 04:20:57 +00:00
Updated workflow to check and update the docker image automatically
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ARG PB_VERSION=0.21.1
|
||||
ARG POCKETBASE_VERSION=0.21.1
|
||||
ARG ENCRYPTION_KEY
|
||||
ENV PB_ENCRYPTION_KEY=$ENCRYPTION_KEY
|
||||
|
||||
@@ -9,7 +9,7 @@ RUN apk add --no-cache \
|
||||
ca-certificates
|
||||
|
||||
# download and unzip PocketBase
|
||||
ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
|
||||
ADD https://github.com/pocketbase/pocketbase/releases/download/v${POCKETBASE_VERSION}/pocketbase_${POCKETBASE_VERSION}_linux_amd64.zip /tmp/pb.zip
|
||||
RUN unzip /tmp/pb.zip -d /pb/
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user