new pocketbase version

This commit is contained in:
Andras Bacsai 2022-12-22 11:22:37 +01:00
parent c8f7ca920e
commit dc130d3705
2 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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