feat: add woodpecker
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
eef5fff985
commit
0650cb19e9
2 changed files with 14 additions and 1 deletions
13
.woodpecker.yml
Normal file
13
.woodpecker.yml
Normal 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
|
||||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue