Add pagefind
ci/woodpecker/push/rsync Pipeline was successful Details
ci/woodpecker/push/tor Pipeline was successful Details
ci/woodpecker/push/pagefind Pipeline failed Details

This commit is contained in:
Kaan Barmore-Genç 2023-10-26 00:21:05 -05:00
parent 2ac12b00ea
commit 66a76d8ef9
Signed by: kaan
GPG Key ID: B2E280771CD62FCF
2 changed files with 26 additions and 0 deletions

16
.woodpecker/pagefind.yml Normal file
View File

@ -0,0 +1,16 @@
pipeline:
build:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
settings:
repo: seriousbug/pagefind
dockerfile: pagefind/Dockerfile
platforms: linux/amd64
tag: latest, v1.0.3
when:
event:
- manual
- push
- cron
branch: main
path: pagefind/*

10
pagefind/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM alpine:latest
ARG version=v1.0.3
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
RUN wget 'https://github.com/CloudCannon/pagefind/releases/download/${version}/pagefind-${version}-x86_64-unknown-linux-musl.tar.gz' \
&& tar -xvf pagefind-${version}-x86_64-unknown-linux-musl.tar.gz \
&& mv pagefind /usr/bin/ \
&& rm pagefind-${version}-x86_64-unknown-linux-mus