feat: add woodpecker

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2025-06-29 13:20:20 -04:00
parent eef5fff985
commit 0650cb19e9
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
2 changed files with 14 additions and 1 deletions

13
.woodpecker.yml Normal file
View file

@ -0,0 +1,13 @@
steps:
build:
image: quay.io/buildah/stable
privileged: true
environment:
REGISTRY_USER:
from_secret: HARBOR_USERNAME
REGISTRY_PASS:
from_secret: HARBOR_PASSWORD
commands:
- buildah login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" registry.gwg313.xyz
- buildah bud -t registry.gwg313.xyz/library/audiobookshelf:latest .
- buildah push registry.gwg313.xyz/library/audiobookshelf:latest

View file

@ -25,7 +25,7 @@ RUN apk add --no-cache --update \
unzip
WORKDIR /server
COPY index.js package* /server
COPY index.js package* /server/
COPY /server /server/server
RUN case "$TARGETPLATFORM" in \