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:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- "others/pocketbase"
|
- "others/pocketbase/*"
|
||||||
- ".github/workflows/pocketbase-release.yml"
|
- ".github/workflows/pocketbase-release.yml"
|
||||||
branches:
|
|
||||||
- next
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
arm64:
|
arm64:
|
||||||
@ -29,7 +27,7 @@ jobs:
|
|||||||
context: others/pocketbase/
|
context: others/pocketbase/
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: coollabsio/pocketbase:0.8.0-arm64
|
tags: coollabsio/pocketbase:0.10.2-arm64
|
||||||
amd64:
|
amd64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -50,7 +48,7 @@ jobs:
|
|||||||
context: others/pocketbase/
|
context: others/pocketbase/
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: coollabsio/pocketbase:0.8.0-amd64
|
tags: coollabsio/pocketbase:0.10.2-amd64
|
||||||
aarch64:
|
aarch64:
|
||||||
runs-on: [self-hosted, arm64]
|
runs-on: [self-hosted, arm64]
|
||||||
steps:
|
steps:
|
||||||
@ -71,7 +69,7 @@ jobs:
|
|||||||
context: others/pocketbase/
|
context: others/pocketbase/
|
||||||
platforms: linux/aarch64
|
platforms: linux/aarch64
|
||||||
push: true
|
push: true
|
||||||
tags: coollabsio/pocketbase:0.8.0-aarch64
|
tags: coollabsio/pocketbase:0.10.2-aarch64
|
||||||
merge-manifest:
|
merge-manifest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [amd64, arm64, aarch64]
|
needs: [amd64, arm64, aarch64]
|
||||||
@ -89,5 +87,5 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Create & publish manifest
|
- name: Create & publish manifest
|
||||||
run: |
|
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 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.8.0
|
docker manifest push coollabsio/pocketbase:0.10.2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.17
|
FROM alpine:3.17
|
||||||
ARG BUILDARCH
|
ARG BUILDARCH
|
||||||
ARG PB_VERSION=0.8.0
|
ARG PB_VERSION=0.10.2
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
unzip \
|
unzip \
|
||||||
ca-certificates
|
ca-certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user