diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 00000000..1eb6886c --- /dev/null +++ b/.woodpecker.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 28c38001..f7996bc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \