new pocketbase version
This commit is contained in:
parent
c8f7ca920e
commit
dc130d3705
14
.github/workflows/pocketbase-release.yml
vendored
14
.github/workflows/pocketbase-release.yml
vendored
@ -3,10 +3,8 @@ name: pocketbase-release
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "others/pocketbase"
|
||||
- "others/pocketbase/*"
|
||||
- ".github/workflows/pocketbase-release.yml"
|
||||
branches:
|
||||
- next
|
||||
|
||||
jobs:
|
||||
arm64:
|
||||
@ -29,7 +27,7 @@ jobs:
|
||||
context: others/pocketbase/
|
||||
platforms: linux/arm64
|
||||
push: true
|
||||
tags: coollabsio/pocketbase:0.8.0-arm64
|
||||
tags: coollabsio/pocketbase:0.10.2-arm64
|
||||
amd64:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -50,7 +48,7 @@ jobs:
|
||||
context: others/pocketbase/
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: coollabsio/pocketbase:0.8.0-amd64
|
||||
tags: coollabsio/pocketbase:0.10.2-amd64
|
||||
aarch64:
|
||||
runs-on: [self-hosted, arm64]
|
||||
steps:
|
||||
@ -71,7 +69,7 @@ jobs:
|
||||
context: others/pocketbase/
|
||||
platforms: linux/aarch64
|
||||
push: true
|
||||
tags: coollabsio/pocketbase:0.8.0-aarch64
|
||||
tags: coollabsio/pocketbase:0.10.2-aarch64
|
||||
merge-manifest:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [amd64, arm64, aarch64]
|
||||
@ -89,5 +87,5 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Create & publish manifest
|
||||
run: |
|
||||
docker manifest create coollabsio/pocketbase:0.8.0 --amend coollabsio/pocketbase:0.8.0-amd64 --amend coollabsio/pocketbase:0.8.0-arm64 --amend coollabsio/pocketbase:0.8.0-aarch64
|
||||
docker manifest push coollabsio/pocketbase:0.8.0
|
||||
docker manifest create coollabsio/pocketbase:0.10.2 --amend coollabsio/pocketbase:0.10.2-amd64 --amend coollabsio/pocketbase:0.10.2-arm64 --amend coollabsio/pocketbase:0.10.2-aarch64
|
||||
docker manifest push coollabsio/pocketbase:0.10.2
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM alpine:3.17
|
||||
ARG BUILDARCH
|
||||
ARG PB_VERSION=0.8.0
|
||||
ARG PB_VERSION=0.10.2
|
||||
RUN apk add --no-cache \
|
||||
unzip \
|
||||
ca-certificates
|
||||
@ -9,4 +9,4 @@ ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/po
|
||||
RUN unzip /tmp/pb.zip -d /app/
|
||||
RUN rm /tmp/pb.zip
|
||||
EXPOSE 8080
|
||||
CMD ["/app/pocketbase", "serve", "--http=0.0.0.0:8080"]
|
||||
CMD ["/app/pocketbase", "serve", "--http=0.0.0.0:8080"]
|
||||
|
Loading…
Reference in New Issue
Block a user