From dc130d370556adfc09973828783c70d46cc3dba5 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 22 Dec 2022 11:22:37 +0100 Subject: [PATCH] new pocketbase version --- .github/workflows/pocketbase-release.yml | 14 ++++++-------- others/pocketbase/Dockerfile | 4 ++-- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pocketbase-release.yml b/.github/workflows/pocketbase-release.yml index 27b639a42..6c8070904 100644 --- a/.github/workflows/pocketbase-release.yml +++ b/.github/workflows/pocketbase-release.yml @@ -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 diff --git a/others/pocketbase/Dockerfile b/others/pocketbase/Dockerfile index e697e32cb..aa0df93e1 100644 --- a/others/pocketbase/Dockerfile +++ b/others/pocketbase/Dockerfile @@ -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"] \ No newline at end of file +CMD ["/app/pocketbase", "serve", "--http=0.0.0.0:8080"]