Add pagefind
This commit is contained in:
parent
2ac12b00ea
commit
66a76d8ef9
16
.woodpecker/pagefind.yml
Normal file
16
.woodpecker/pagefind.yml
Normal 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
10
pagefind/Dockerfile
Normal 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
|
Loading…
Reference in a new issue